Andrew & Jason, Jason Grout <[email protected]> writes:
> On 12/2/10 8:24 AM, Andrew Dawes wrote: >> lambda is a special word in python, it indicates a type of one-line >> function definition. Using any other word should work. >> >> See: >> http://groups.google.com/group/sage-support/browse_thread/thread/728f27989ff87203/4b08aaaed8309cbc?q=sage+support+lambda >> >> for a similar discussion. >> >> For more on lambda functions (very useful by the way) see: >> http://diveintopython.org/power_of_introspection/lambda_functions.html >> > > I usually do: > > lambda_=var("lambda_"), which still prints a Greek lambda when I > output it in typeset form. > > Jason Many thanks. I should have a) realised lambda might be special b) checked the archives I'll be more careful next time. 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 URL: http://www.sagemath.org
