Re: [sage-support] [newbie] lambda operator

2013-08-15 Thread David Joyner
On Thu, Aug 15, 2013 at 6:24 AM, Jean Dubois wrote: > Hello, > I recently bought a book "adventures in group theory" which uses Sage. On > page 14 If you bought the 2nd edition then half the proceeds go to Sage, so thanks! (The other half go to an environmental group, and they probably thank you

[sage-support] [newbie] lambda operator

2013-08-15 Thread Jean Dubois
Hello, I recently bought a book "adventures in group theory" which uses Sage. On page 14 it tells Sage allows functions to be defined using a 'lamba operator' and the following example is shown: pi = lambda x: pari(x).primepi() can someone here explain this in "newbie-language" I understand wha