Block Lambdas: break and continue

Brendan Eich brendan at
Sat Jan 14 23:04:00 PST 2012

> Allen Wirfs-Brock <mailto:allen at>
> January 14, 2012 9:50 PM
> With block lambdas that support the return statement we already have 
> escape continuations:

Right you are, but simulating "early return" in a block-lambda requires 
the caller to pass down a {|v| return v} block -- a bit of tedium that 
could take too many evenings, to borrow from Oscar Wilde.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1293 bytes
Desc: not available
URL: <>

More information about the es-discuss mailing list