1
Haskell’s State monad is not a monad (2014)
Haskell’s State monad has a shameful secret. It’s not a monad [ State monads don’t respect the monad laws in Haskell, Simon Marlow ] . Look:
Hello! The picture of me on the right ☛ is increasingly inaccurate but it will have to do.
Visit cse.chalmers.se/~nicsma → On Hacker News Jul 2018 – Jul 2018
Haskell’s State monad has a shameful secret. It’s not a monad [ State monads don’t respect the monad laws in Haskell, Simon Marlow ] . Look: