[Haskell-beginners] HTTP Download -> Save File - non-strict
Erik de Castro Lopo
mle+hs at mega-nerd.com
Sun Aug 11 22:47:13 CEST 2013
Dan Krol wrote:
> Ah yes, the actual docs. Somehow didn't think to check that, sorry.
>
> Alright, I'll try to figure that one out, thanks. Any particular reason
> nobody just offers http over lazy I/O? Is it just because lazy I/O is
> generally discouraged? Or just particularly bad over a network?
Lazy I/O is particularly problematic when implmenting network servers
and generally discouraged for networking code.
> And is this an area where Conduit is better than Pipes?
Conduit has been around longer and is thus more mature and complete.
> There doesn't seem to be a similar http for Pipes.
I believe Andrew Cowie, author of http-streams (on top of io-streams) is
working on a Pipes version.
HTH,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Beginners
mailing list