Unsafe hGetContents

Nicolas Pouillard nicolas.pouillard at gmail.com
Thu Sep 17 08:58:59 EDT 2009

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?

[1]: http://hackage.haskell.org/package/safe-lazy-io

Nicolas Pouillard

More information about the Haskell-prime mailing list