"William Stein" <[EMAIL PROTECTED]> writes:
> On 7/26/07, Roger Mason <[EMAIL PROTECTED]> wrote: >> > You should do m.substitute(a=1) just like you're doing -- unfortunately, >> > nobody implemented that yet, and it's doing some dumb generic behavior. >> > [...] >> > Fortunately, I just implemented this for SAGE-2.7.1, which I'll release >> > very >> > very soon. >> >> Thank you both very much. It seems I need a careful read of the user >> manual, I had not picked up on lambda expressions. I am compiling >> 2.7.1 so will soon be able to test blah.substitute(a=1). > > I don't know if lambda expressions are discussed in the user manual. > The SAGE language is Python, and Python has a very nice lambda > expression. Thus this nicely written book also applies to SAGE: > http://docs.python.org/tut/ > The section on lambda expressions is here: > http://docs.python.org/tut/node6.html#SECTION006750000000000000000 The compilation of 2.7.1 just finished and I had started looking for lambda in the docs when I saw your e-mail! Many thanks, Roger --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
