[Haskell-cafe] Is it safe to use unsafePerformIO here?
frodo at theshire.org
Tue Sep 15 16:35:58 EDT 2009
On Tue, Sep 15, 2009 at 10:29 PM, Daniel Fischer
<daniel.is.fischer at web.de> wrote:
> It evaluates the String far enough to know whether it's "" or (_:_), that is, to weak head
> normal form. It doesn't look at any character, but it forces at least one character to be
> read from the file.
Yep, the head. That explains why only the first 1024 bytes are read
More information about the Haskell-Cafe