silky / silky.github.com

personal website
https://silky.github.io
1 stars 1 forks source link

write about the io testing idiom #19

Closed silky closed 8 years ago

silky commented 8 years ago

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

silky commented 8 years ago

also maybe checkout - https://blog.pusher.com/unit-testing-io-in-haskell/

silky commented 8 years ago

https://jaspervdj.be/posts/2015-03-13-practical-testing-in-haskell.html

silky commented 8 years ago

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.