ยค preMapSP, postMapSP, et al

Stream processor combinators

Types

preMapSP :: SP a b -> (t -> a) -> SP t b
postMapSP :: (t -> b) -> SP a t -> SP a b
prepostMapSP :: (t1 -> a) -> (t2 -> b) -> SP a t2 -> SP t1 b

Description

These combinators attach pre- and postprocessors to stream processors.

Equalities

  sp `preMapSP` f = sp `serCompSP` mapSP f
  f `postMapSP` sp = mapSP f `serCompSP` sp
  prePostMapSP pre post sp = post `postMapSP` sp `preMapSP` pre

See Also

>=^< et al, serCompSP, mapSP.