[IronPython] lambda form

PhiHo Hoang phiho.hoang at rogers.com
Sun May 8 14:10:23 CEST 2005


Jim Hugunin wrote:

> March Liu wrote:
> > lambda key word may remove from CPython 3.0. Maybe we can replace it
> > by the other way as List Comprehensions, funcation Factory...

> I like to encourage people who come from a functional background to use
> list comprehensions instead of lambda when possible.  I'm not sure that
> lambda should go away, but I do wonder if map, filter and reduce
> shouldn't be removed from builtins 

    I would gladly trade this trio for  defsyn ( and the crew ;-)

> to more strongly encourage the use of
> list comprehensions or generator expressions instead.

    Agreed.

[SNIP]

    Thanks for looking into this lambda thingy.

    PhiHo




More information about the Ironpython-users mailing list