3 ms·
> If you don't know whether the compiler assigns something to be evaluated lazily or eagerly that could lead to a lot of nasty debugging issues. If the compile
by tom_mellior 7y ago
> If you don't know whether the compiler assigns something to be evaluated lazily or eagerly that could lead to a lot of nasty debugging issues.
If the compiler only forces values that would be forced anyway, there shouldn't be a problem. Which is why GHC actually does it: https://wiki.haskell.org/Performance/Strictness https://wiki.haskell.org/Performance/Strictness
Strictness analysis is good and useful... and difficult and not magic.