Re:“Mostly functional” programming does not work (2014)
by tome on Monday June 22, 2015 @03:28PM
(#9760642)
Did you reply to the wrong comment?
Re:“Mostly functional” programming does not work (2014)
by marcosdumay on Monday June 22, 2015 @08:53PM
(#9762101)
Ops. I did.
2 - If you really, for some unknown reason, wants to do that, you can pass the logger as an argument to f2, and have it run inside the IO monad somewhere outside of that fragment. But really, read #1 first.