lambda
Joey Gibson
joeyGibson at mindspring.com
Fri Mar 31 09:21:21 EST 2000
On Fri, 31 Mar 2000 12:06:12 GMT, morbid at doesnotlikespam.inet.net.nz
(Morbid Curiosity) wrote:
||| On Thu, 30 Mar 2000 16:26:43 -0500, Joey Gibson
||| <joeyGibson at mindspring.com> wrote:
||| >||| > It took me a while to 'get' lambdas at first too. They are most useful
||| >||| > (IMO) when paired with map(), filter() and reject(). These functions take
||| >|||
||| >||| Where did you find reject()?
||| >
||| > D'ooh! I work in Smalltalk also, and that is one of its collection
||| >messages. Sorry. Python doesn't have one.
|||
||| You're not thinking of reduce(), are you?
|||
||| Morbid
I could have been. I probably was thinking Smalltalk and Python at the
same time, and transmogrified reduce() to reject: and never noticed the
change. Curious....
Joey
--
-- Sun Certified Programmer for the Java2 Platform
-- My Pocket Smalltalk Stuff: www.mindspring.com/~joeygibson/st/
--
-- "Then slew they the goats, YEA! And placed they the bits,
-- in little pots."
More information about the Python-list
mailing list