Closed silky closed 8 years ago
also maybe checkout - https://blog.pusher.com/unit-testing-io-in-haskell/
thing is, in the pipes library there's basically "nothing to do".
you just change the input/output methods that you've hooked up to the pipe. so i might just not worry about this at the moment.
from here - http://stackoverflow.com/questions/19953612/haskell-piping-strings-into-io
and here - http://www.haskellforall.com/2012/07/purify-code-using-free-monads.html
and then see how it looks in the pipes library