> 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
modular functions."

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.

Cheers, Marco
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to