
12 Oct
2012
12 Oct
'12
2:01 p.m.
Hi Emmanuel,
Now that I mentioned my problem with more details, maybe you can think of a better way of doing that?
In this case I don't think that it's worth to separate it.
And otherwise I guess this is the policy when writing Haskell code: absolutely avoid spreading impure/IO tainted code, even if it maybe negatively affects the general structure of the program?
There should be a reason for separating pure and impure code. If your code doesn't get easier to reason about or more reusable, than there's little reason for separation. At the end the separation should result in better programs. Greetings, Daniel