Unsafe hGetContents

Don Stewart dons at galois.com
Wed Sep 16 16:20:49 EDT 2009


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?

-- Don


More information about the Haskell-prime mailing list