Re:How is lazy evaluation in Haskell useful?
by surrealize on Sunday November 25, 2012 @02:57PM
(#4829078)
One of the things haskell can do with lazy sequences is fuse away intermediate data structures, e.g. take
and substitute
automatically (as a compiler optimization). I don't think that's a safe transformation in general in a non-pure language; not sure about a pure strict language.
[ Parent
| on HN ]