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. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe