Safe Haskell | Safe-Inferred |
---|---|

Language | Haskell98 |

Common functions for implementing generic traversals

# Documentation

pairM :: Applicative f => (a -> f c) -> (b -> f d) -> (a, b) -> f (c, d) Source

maybeM :: Applicative f => (a -> f b) -> Maybe a -> f (Maybe b) Source

eitherM :: Applicative f => (a -> f c) -> (b -> f d) -> Either a b -> f (Either c d) Source