Nice presentation. Will definitely take a look at the lib.
203 karma · joined March 2, 2011
Open-source developer (http://github.com/raimohanska/).
Hoever, I stand corrected. Bash executes the commands in a very different way from the IO monad. Using pure functions like String -> String you'd get the similar effect in Haskell, just like you suggested.
That that would of course disable all side-effects from the "links in the chain". Which is in many cases desired, but that's not Bash though.
I guess I'd need to define a whole new Monad to emulate the way Bash operates. I'm not saying you should emulate it though.