Safe Haskell | Safe-Infered |
---|
Documentation
A Family has one parent (ah, the anomie, sorry) and at least two children.
mapChildrenM :: Monad m => (a -> m b) -> Family p a -> m (Family p b)Source
Maps over all children in a monad, in order starting with child 1, then child 2, then the children in the list from left to right.
mapChildren :: (a -> b) -> Family p a -> Family p bSource
Maps over all children, in order starting with child 1, then child 2, then the children in the list from left to right.
mapParentM :: Monad m => (a -> m b) -> Family a c -> m (Family b c)Source
Maps over the parent in a monad.