Gabriella439 / pipes

Compositional pipelines
BSD 3-Clause "New" or "Revised" License
487 stars 72 forks source link

mapM for consumers #147

Closed gibiansky closed 9 years ago

gibiansky commented 9 years ago

Is there a mapM_ that works for consumers?

mapM :: Monad m => (a -> m b) -> Consumer a m ()
mapM f = forever $ await >>= lift . f
Gabriella439 commented 9 years ago

Not yet, but I will definitely add this for you