News for hackers. Stuff that matters.
Re:Introducing a new data structure, streams, in Javascript by skilldrick on Sunday September 11, 2011 @12:30PM (#2984077)
> As someone who conjured this exact thing up in another language after reading SICP

Me too! http://jsfiddle.net/skilldrick/vT2mC/

I didn't get very far with it though - the combined issues of JavaScript's lack of tail-call optimisation and its verbose lambda syntax made building streams to painful.

This looks like an interesting approach, though you'll never get around JS's heavy lambdas (unless you use CoffeeScript or something).

There are no comments on this comment yet.