Why are side-effects modeled as monads in Haskell?
- by bodacydo
Could anyone give some pointers on why the unpure computations in Haskell are modeled as monads?
I mean monad is just an interface with 4 operations, so what was the reasoning as modeling side-effects in it?