[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lightweight syntax: a dissident view
- From: Matthew Wild <mwild1@...>
- Date: Thu, 25 Nov 2010 17:35:48 +0000
On 25 November 2010 17:20, Axel Kittenberger <axkibe@gmail.com> wrote:
> I'm against do for lamdas, since it is actually the very contrary.
> Nothing is done / executed here, but a code is constructed to be done
> later.
On the other hand:
array:foreach(do return a = a * a)
...sort of makes sense, when you read it.
In fact is the common case for lambdas not that they are code to be
executed (relatively) "now"? Normal functions and methods on the
contrary are to be called later, for sure.
Matthew (who likes the concept of "relatively now", now...)
- References:
- Re: Re: Re: Lightweight syntax: a dissident view, Gunnar Zötl
- Re: Re: Re: Lightweight syntax: a dissident view, Luis Carvalho
- Re: Re: Re: Lightweight syntax: a dissident view, Axel Kittenberger
- Re: Re: Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
- Re: Re: Re: Lightweight syntax: a dissident view, Roberto Ierusalimschy
- Re: Re: Re: Lightweight syntax: a dissident view, Mateusz Czaplinski
- Re: Re: Re: Lightweight syntax: a dissident view, Axel Kittenberger
- Re: Lightweight syntax: a dissident view, Philippe Lhoste
- Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
- Re: Lightweight syntax: a dissident view, Paul Hudson
- Re: Lightweight syntax: a dissident view, Rob Kendrick
- Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
- Re: Lightweight syntax: a dissident view, Axel Kittenberger