2 ms·
Lazy evaluation is exactly why Haskell has monads and Ocaml does not. the whole point of haskell was to see what happens if try to build a language with the st
by afiori 4y ago
Lazy evaluation is exactly why Haskell has monads and Ocaml does not.
the whole point of haskell was to see what happens if try to build a language with the strong requirement of lazy evaluation.
If you remove it you also remove any need* for the IO monad
* you can obviously use an IO like interface in a non-lazy language, but it is not necessary