Re:Rust as a gateway drug to Haskell
by hellofunk on Wednesday June 14, 2017 @05:29AM
(#14551551)
I don't use Haskell but didn't I read recently that the latest version of Haskell addresses this common concern by allowing you to turn off laziness altogether so everything evaluates eagerly?
[ Parent
| on HN ]
There is -XStrict, see here for a discussion: https://ghc.haskell.org/trac/ghc/wiki/StrictPragma
>Haskell addresses this common concern by allowing you to turn off laziness altogether so everything evaluates eagerly
It's a common concern but it's a terrible critique. Laziness has many subtle benefits, but everyone whines about it because its pitfalls are decidedly not subtle.