On Wed, Apr 17, 2013 at 9:17 AM, Claus Reinke <claus.reinke@talk21.com> wrote: > In addition, I would like to see a tiny JS language extension that > translates something like > > let xresult <- doX(...) ... > > (for then-able-returning doX) to > > doX(...).then( function( xresult ) { ... } ) > so that I could write my nested callbacks without pyramids of doom, > as in other functional languages (eg, Haskell, F#). Your suggested transformation is crazytimes, because it means that "let" isn't introducing a new variable at all! ~TJReceived on Wednesday, 17 April 2013 16:57:37 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:12 UTC