Never mind. I misunderstood what the second part was doing. You have it correct and `Consumer` is a good choice. On Jun 9, 2014 7:45 PM, "Ian Duncan" <[email protected]> wrote:
> On June 9, 2014 at 6:45:09 PM, Gabriel Gonzalez ([email protected]) > wrote: > > Awesome! I didn't even realize it was out already. > > Perhaps the type of `responseRaw` should be: > > (Producer ByteString m () -> (Producer ByteString m () -> IO ()) -> > IO ()) -> Response -> Response > > > I’m not sure that I understand what that would buy that the current > interface doesn’t provide. Could you elaborate? > > Also, what is the `Flush` type? I couldn't find it anywhere. > > Oops, forgot to export it. Fixed. > > > > On 6/9/2014 5:46 PM, Ian Duncan wrote: > > Now that WAI doesn’t use conduit as the underlying streaming mechanism, > I’ve ported wai-conduit over to a pipes equivalent: > http://hackage.haskell.org/package/pipes-wai > > There’s admittedly not a whole lot to it, but it scratches an itch that > I’ve had for a long time :) > -- > Ian Duncan > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > > > > -- 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 [email protected]. To post to this group, send email to [email protected].
