
21 Sep
2009
21 Sep
'09
7:57 a.m.
Excerpts from Simon Marlow's message of Mon Sep 21 11:41:38 +0200 2009:
On 16/09/2009 21:17, Florian Weimer wrote:
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.)
There is no current proposal for this, no. Feel free to start one; information about the process for Haskell Prime proposals is here
An alternate proposition (instead of removing it) would to to move it to System.IO.Unsafe. -- Nicolas Pouillard http://nicolaspouillard.fr