Re: block lambda proposal in light of compiling to JavaScript

2011-06-20 Thread Mariusz Nowak
l give us. At least this: http://wiki.ecmascript.org/doku.php?id=strawman:block_lambda_revival looks very appealing to me. - Mariusz Nowak https://github.com/medikoo -- View this message in context: http://old.nabble.com/block-lambda-proposal-in-light-of-compiling-to-JavaScript-tp318762

Re: block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread David Herman
So one thing that lambda really helps with, and where TCP is a serious practical issue and not just philosophical, is macros. Macros need the ability to create new kinds of control flow by taking expressions and reordering and delaying them. You can use 'function' for this but you don't want th

Re: block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread Brendan Eich
On Jun 18, 2011, at 1:50 PM, Brendan Eich wrote: > On Jun 18, 2011, at 1:02 PM, Peter Michaux wrote: >> So what can be done to help move the block lambda proposal towards Harmony? > > To me the biggest obstacle is the meta-point about "OMG too different" > regarding return, break, and continue h

Re: block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread Brendan Eich
On Jun 18, 2011, at 1:02 PM, Peter Michaux wrote: > Drawing the line in the right place is important of course. I was > trying to contribute to the case that drawing the line with lambdas in > would be beneficial to some and perhaps a growing group in the future. If you wrote "might" instead of "

Re: block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread Mark S. Miller
On Sat, Jun 18, 2011 at 1:02 PM, Peter Michaux wrote: [...] > So what can be done to help move the block lambda proposal towards Harmony? > Accumulating more arguments in its favor, as you are attempting to do in this thread, and answering arguments against. The gate is achieving consensus among

Re: block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread Peter Michaux
On Sat, Jun 18, 2011 at 11:53 AM, Brendan Eich wrote: > On Jun 18, 2011, at 10:33 AM, Peter Michaux wrote: > Yet CoffeeScript does not need lambdas with TCP control effects today. It > translates in a straightforward (mostly) "transpiling" way. Even its > expression-language mapping of statements

Re: block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread Brendan Eich
On Jun 18, 2011, at 10:33 AM, Peter Michaux wrote: > Recently, I've invested time looking at current > compiling-to-JavaScript developments. Although people have been doing > this for many years now, it seems CoffeeScript is making it clear that > being a target of compilation is at least part of

block lambda proposal in light of compiling to JavaScript

2011-06-18 Thread Peter Michaux
Recently, I've invested time looking at current compiling-to-JavaScript developments. Although people have been doing this for many years now, it seems CoffeeScript is making it clear that being a target of compilation is at least part of JavaScript's future. The pending additions in browsers of su