On Mon, Mar 30, 2009 at 8:27 AM, Jason Grout <jason-s...@creativetrax.com> wrote: > > David Joyner wrote:
>> >> No objection. However, I think >> >> sage: t = var("t") >> sage: g = function("g",t) >> sage: g = sin + t >> sage: g(3) >> sin(3) + 3 > > > Note that here, you are redefining g with the functon sin+t (i.e., you > are replacing g as a variable; the function g(t) doesn't exist anymore). > In other words, these 4 lines have exactly the same effect as: > > sage: t = var("t") > sage: g = sin + t > sage: g(3) > sin(3) + 3 > > So the above behavior should change; that's what this thread was all about. Thanks. Of course you are absolutely correct. I wasn't thinking. Maybe what I said isn't so reasonable after all:-) > > Jason > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---