|
|
|
|
|
by chowells
3395 days ago
|
|
I can't imagine using a haskell-like language without laziness. It's what makes it possible to actually write small reusable functions. Tell me, have you ever used foldr in Purescript? It just doesn't lead to reusable logic there, so I have no idea why you would. But in Haskell, foldr is used everywhere. Laziness means that logic built with it is actually reusable. |
|
http://try.purescript.org/?gist=63d81adf9f5257ffa4f576df2658...