>
> > Problems arise when thinking about more complicated mathematical 
>> objects. I 
>> > don't know if I simply lack the appropriate Mathematica knowledge, but 
>> years 
>> > ago, when I implemented matroids in Mathematica, a matroid was simply a 
>> list 
>> > with 6 elements (groundset, representation matrix, and I forget what 
>> else) 
>> > and head Matroid. To access the elements of that list, you did stuff 
>> like 
>> > this: 
>> > 
>> > lM = Map[If[# == 0, 0, 1] &, M[[2]][[#[[2]] & /@ M[[3]], #[[2]] & /@ 
>> > M[[4]]]], {2}]; 
>>
>> Holy f*2}];ng s&/@! 
>>
>>
>
 Let's hope the younger matroid theorists never have to see such obfuscated 
code again, thanks to your (and others') work!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to