25 Nov
2014
25 Nov
'14
11:56 a.m.
There's https://hackage.haskell.org/package/IOSpec which provides a pure implementation of the IO monad. Once you're done testing your code you can import Test.IOSpec.Surrogate which declares type IOSpec f a = IO a. Would be a nice use case for ML-style modules btw :) On Mon Nov 24 2014 at 9:46:29 PM martin <martin.drautzburg@web.de> wrote:
Thanks to all. This helped a lot.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe