[Haskell-cafe] Filesystem questions
Henning Thielemann
lemming at henning-thielemann.de
Sun Oct 14 16:22:08 EDT 2007
On Sun, 14 Oct 2007, Bryan O'Sullivan wrote:
> Yitzchak Gale wrote:
>
>> I do think that it is much better to provide IO laziness
>> using monad transformers (or whatever) rather than
>> unsafe IO.
>
> That's fair enough. I think it would be great if you were to turn your ideas
> into a library and provide a few examples of its use.
I'm also interested in a more structured approach to lazy reading of data.
I used unsafeInterleaveIO several times (including readFile) and got
several problems including too many open files. Problems, that are
certainly solved easily if you have more control over the IO laziness.
More information about the Haskell-Cafe
mailing list