On Feb 26, 2009, at 2:54 PM, Mike Hansen wrote: > On Thu, Feb 26, 2009 at 2:52 PM, YannLC > <yannlaiglecha...@gmail.com> wrote: >> >> Thanks for the explanation. >> I definitely don't like this shortcut: >> >> sage: var('foo bar') >> (foo, bar) >> sage: E = foo+bar >> sage: E(5) >> foo + 5 >> >> why not "bar +5" ? >> >> but I'll learn to live with it :) > > It goes by alphabetical order by default: > > sage: E.variables() > (bar, foo)
Yes, this is strange, and one thing that I'm glad is going away. (I like the f(...) notation, but only if there's no ambiguity to be resolved.) - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---