[Haskell-cafe] A Monad for on-demand file generation?

Henning Thielemann lemming at henning-thielemann.de
Tue Jul 1 08:55:41 EDT 2008


On Tue, 1 Jul 2008, David Roundy wrote:

> Indeed, the best option (in my opinion) would be
>
> unsafeInterleaveIO readFileStrict


How about ByteString.readFile ? This is strict and efficient.



More information about the Haskell-Cafe mailing list