
13 Oct
2014
13 Oct
'14
7:57 a.m.
I was thinking safeHGetContents :: (NFData a) => Handle -> (String -> a) -> IO a and/or safeHGetContents :: (NFData a) => Handle -> (String -> IO a) -> IO a and/or something more explicitly targeting multiple handles (which I think there must be a nice way to do, somehow!). On Mon, Oct 13, 2014 at 3:09 AM, Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Sun, 12 Oct 2014, David Feuer wrote:
One possible path is to have a safeHGetContents, along with RULES in
Control.DeepSeq to attempt to erase the double deepseq.
Is safeHGetContents the same as
http://hackage.haskell.org/package/strict-0.3.2/docs/ System-IO-Strict.html#v:hGetContents
?