4 ms·
It's a slight technicality, but Haskell does allow mutable state, it just has to be wrapped in a monad (e.g. IO or MutVar#).
by ironmagma 4y ago
It's a slight technicality, but Haskell does allow mutable state, it just has to be wrapped in a monad (e.g. IO or MutVar#).