
3 Oct
2009
3 Oct
'09
2:59 p.m.
* Nicolas Pouillard:
Excerpts from Florian Weimer's message of Wed Sep 16 22:17:08 +0200 2009:
Are there any plans to get rid of hGetContents and the semi-closed handle state for Haskell Prime?
(I call hGetContents unsafe because it adds side effects to pattern matching, stricly speaking invalidating most of the transformations which are expected to be valid in a pure language.)
Would you consider something like [1] as an acceptable replacement?
It only addresses two known issues with lazy I/O, doesn't it? It still injects input operations into pure code not in the IO monad.