Timothy Fitz wrote:
> On 5/8/05, Luis M. Gonzalez <[EMAIL PROTECTED]> wrote:
> > Regarding lambda, map and reduce, Guido Van Rossum has said several
> times
> > that these built-ins are amongst its "Python regrets".
> >
> > This is what he said in a recent interview:
> >
> > - If you could change s
On 5/8/05, Luis M. Gonzalez <[EMAIL PROTECTED]> wrote:
> Regarding lambda, map and reduce, Guido Van Rossum has said several times
> that these built-ins are amongst its "Python regrets".
>
> This is what he said in a recent interview:
>
> - If you could change some things that have been done i
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
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
la
lambda key word may remove from CPython 3.0. Maybe we can replace it
by the other way as List Comprehensions, funcation Factory...
2005/5/7, Travis Watkins <[EMAIL PROTECTED]>:
> On 5/7/05, PhiHo Hoang <[EMAIL PROTECTED]> wrote:
> > Greetings,
> >
> > Does IronPython support lambda form ?
> >
On 5/7/05, PhiHo Hoang <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> Does IronPython support lambda form ?
>
> Is this make_inc correct ?
>
> Thanks,
>
> PhiHo
>
> >>> def make_inc(n):
> ... return lambda x : x + n
> ...
> >>> f = make_inc(100)
> >>> f(1)
> IronPython.Objects