[Haskell-cafe] TagSoup 0.9
Don Stewart
dons at galois.com
Wed May 19 16:37:03 EDT 2010
schlepptop:
> Don Stewart schrieb:
> > Or use things from the download-curl package, which provides a nice
> > openURL function.
>
> The openURL function from TagSoup is lazy, which the proposed
> replacement 'getResponseBody =<< simpleHTTP (getRequest x)' is not. Is
> the openURL function from download-curl lazy?
>
Yes, see:
Network.Curl.Download.Lazy.openLazyURI
though I think it is possible that I strictified the code. Have a play
around with it if it doesn't meet your needs -- should be /trivial/ to
ensure it is chunk-wise lazy.
More information about the Haskell-Cafe
mailing list