On Thu, Feb 18, 2016 at 01:38:32PM -0800, Daniel Díaz wrote: > The documentation for the "streaming > <http://hackage.haskell.org/package/streaming>" package explains from to > convert a pipes Producer into a Stream and back, but is it also possible to > define a function with the following signature? > > FreeT (Producer a IO) IO r -> Stream (Stream (Of a) IO) IO r
I guess you can combine the following: Free.iterTM Stream.wrap :: FreeT f m a -> Stream f m a Streaming.unfoldr Pipes.next :: Producer a m r -> Stream (Of a) m r maps :: (forall x . f x -> g x) -> Stream f m r -> Stream g m r 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.