
16 Sep
2009
16 Sep
'09
4:31 p.m.
* Don Stewart:
fw:
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.)
Isn't this a broader complaint about lazy IO in general?
Yes, sort of. But doesn't lazy input derive its justification from being present in the prelude?