News for hackers. Stuff that matters.
Re:The Four Flaws of Haskell by DanWaterworth on Monday August 15, 2016 @06:39AM (#12289562)
One way around this is to have typeclasses for all the different kinds of effects you'd like with instances for IO. Then for testing you can use a different instance that produces a value of a free monad.

There are no comments on this comment yet.