* 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? > > [1]: http://hackage.haskell.org/package/safe-lazy-io
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. _______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime