On Jan 24, 1:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > Thanks. I would actually strongly encourage you or somebody to > sit down and actually write a function that has the _same_ functionality > as http://reference.wolfram.com/mathematica/ref/Partition.html
Hi, i would also suggest to write similar functions for other type of list manipulation. like the "Flatten" function with different levels of depth as an opposite of partition. e.g. sequence_flatten([[a,[b,c]],[d]],level=1) gives [a,[b,c],d] (or something like that) maybe this is more important for the lisp based interface (partition, flatten, map, apply, cross, ...) for mathematica, but there are other uses, too. h --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---