[Haskell-cafe] Re: A common pattern

Achim Schneider barsoap at web.de
Mon May 5 07:43:58 EDT 2008


Andrew Coppin <andrewcoppin at btinternet.com> wrote:

> Do I get an exception or just the end of the
> string?) I might possibly be able to just use hGetContents and run a
> parser lazily over the result, we'll see.
> 
You get an exception. I used this scheme for a toy http server using 
lazy Bytestrings, and it worked well, even with connection persistence
and everything.


-- 
(c) this sig last receiving data processing entity. Inspect headers for
past copyright information. All rights reserved. Unauthorised copying,
hiring, renting, public performance and/or broadcasting of this
signature prohibited. 



More information about the Haskell-Cafe mailing list