News for hackers. Stuff that matters.
Re:Are Monads a Waste of Time? by seliopou on Tuesday February 20, 2018 @07:17AM (#16419763)
The separation of pure and impure code in Haskell isn't something inherent to monads but is instead a side-effect (hah) of the typing rules of the language. It's easy to see how this separation need not hold when using monads (look at any monad library in virtually any other language), but more importantly there are ways to accomplish this separation without the use of monads (an effect-tracking type system is being developed along side OCaml's algebraic effects/multicore project).

There are no comments on this comment yet.