On Fri, May 20, 2011 at 5:54 PM, Brendan Eich <[email protected]> wrote:
> As promised/threatened: 
> http://wiki.ecmascript.org/doku.php?id=strawman:block_lambda_revival

The examples on the wiki page feature calling a function that takes
one block argument and also feature Tennent's correspondence principle
nicely; however, I don't see examples of how to define functions
taking one or more block arguments or how to call a function with two
or more block arguments. Could someone add an example? Perhaps a
Boolean.prototype.ifTrueIfFalse definition equivalent to Smalltalk's
ifTrue:ifFalse: would fill these example gaps?

Thanks,
Peter
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to