potoki-0.7.2: Simple streaming in IO
Potoki.IO
produceAndConsume :: Produce input -> Consume input output -> IO output #
produce :: Produce input -> forall x. IO x -> (input -> IO x) -> IO x #
consume :: (forall x. x -> (input -> x) -> IO x) -> Consume input output -> IO output #