by rtpg · 12y ago · 0 comments
I'd actually much prefer lazy values be put into Javscript than almost any other feature (real module support is another big one).
http://www.haskellforall.com/2013/09/perfect-streaming-using...
The pipes ecosystem ( http://www.haskell.org/haskellwiki/Pipes ) is working well to offer {effects, streaming, composability} without the resource leak issues introduced by lazy IO.
There seems to be two arguments against laziness. Firstly, it makes reasoning about performance hard. Secondly, forcing strict evaluation is tricky, maybe harder than it would be to do optional lazy evaluation in a strict language.