"Jeremy Shaw" <[EMAIL PROTECTED]> writes:

I probably shouldn't post when I don't quite understand the question,
and I'm unsure whether this is about timeouts, lazy parsing of
responses, or line endings?  These seem like independent issues to
me.  Anyway:

> Polyparse has some lazy parsers:

but Tomasz Zielonka once posted a 'lazyMany' combinator for Parsec,
which I've used successfully.  Isn't lazy parsing of many NNTPResponse
or similar what you want?  

(If you can't find the original post, there's a copy at
    http://malde.org/~ketil/biohaskell/biolib/Bio/Util/Parsex.hs)

PS: While I try to avoid 'unsafePerformIO', I tend to make use of
'unsafeInterleaveIO'.  Although I'm sure the creative people here can
demonstrate cases of nasal demons caused by that function, too.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to