The most common scenario is when it is not enough to just request a
chunk, but you have to make the request with some metadata.

For example you might have a producer that would like to know how many
bytes it should read from a file for every chunk.  That would
correspond to Server Int ByteString in the pipes library.

On Fri, Jul 28, 2017 at 11:45 AM, Tom Ellis
<tom-lists-haskell-pipes-2...@jaguarpaw.co.uk> wrote:
> Inspired by this discussion
>
>     
> https://www.reddit.com/r/haskell/comments/6pzwnb/streaming_programs_without_laziness_a_short_primer/
>
> I began to wonder: what are the `Proxy`s that occur in the wild that are not
> `Pipe`s?  That is, when in practice do we actually need to send data back
> upstream?
>
> Can anyone provide some examples?
>
> Thanks,
>
> Tom
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Haskell Pipes" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to haskell-pipes+unsubscr...@googlegroups.com.
> To post to this group, send email to haskell-pipes@googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-pipes+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-pipes@googlegroups.com.

Reply via email to