return-from-lambda viewed as dangerous, good alternatives
Neal Gafter
neal at gafter.com
Fri Jan 8 23:11:07 PST 2010
On Fri, Jan 8, 2010 at 4:29 PM, Stefan Schulz <schulz at the-loom.de> wrote:
> I'd suspect that in the sense of this proposal, a lambda is (like in,
> e.g., Ruby) what FCM defined as "anonymous inner method", which also
> clarifies its behaviour wrt. non-local return. It does not prevent,
> however, from adding another language construct for control abstraction
> or closures (Blocks in Smalltalk) later on with a syntax distinct from
> methods (e.g. old BGGA syntax). As I mentioned Ruby, it provides
> different constructs for lambda and closure (proc).
It would be a shame to need a third, fourth, or fifth closure-like
construct. (Ruby has about seven)
More information about the lambda-dev
mailing list