I sometimes write libraries that expose Producer -> Producer functions like 
that.

Perhaps you could provide some helper functions that manipulated Producer 
-> Producer functions and hid the >-> and even the >>.

On Wednesday, September 20, 2017 at 5:21:21 PM UTC+2, Merijn Verstraaten 
wrote:
>
> Hi, 
>
> Given an "inputProducer :: Producer Foo m r" I can write "(inputProducer 
> >-> myPipe) >> myProd" to get the desired effect, but this is horrible 
> thing for users of my code to have to write. 

-- 
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