map package:pipes

Apply a function to all values flowing downstream
map id = cat

map (g . f) = map f >-> map g
Apply a function to all values flowing downstream, and forward each element of the result.
Apply a monadic function to all values flowing downstream
mapM return = cat

mapM (f >=> g) = mapM f >-> mapM g
Consume all values using a monadic function