[Haskell-cafe] Haskell-Cafe Digest, Vol 93, Issue 58
M.C.A. (Marco) Devillers
marco.devillers at gmail.com
Tue Jun 14 01:45:41 CEST 2011
> The urge to do I/O at all the wrong places is a born instinct.
The original poster was well aware how to factor out IO out of his program,
as made apparent by his initial comment: "An option I suppose would be to
read the dictionary at the top level, and then pass it all the way down to
the analysis routine that uses it, but that exposes the details of how the
analysis is done, and couples the top and bottom levels of the previously
His original argument was a genuine observation that IO sometimes seems to
be adverse to the loose coupling of modules. Dissing that argument away as:
"you are doing IO at the wrong place," doesn't convince me the least.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe