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

Language | Haskell2010 |

# Documentation

maybeToLeft :: r -> Maybe l -> Either l r Source #

maybeToRight :: l -> Maybe r -> Either l r Source #

leftToMaybe :: Either l r -> Maybe l Source #

rightToMaybe :: Either l r -> Maybe r Source #

maybeToEither :: Monoid b => (a -> b) -> Maybe a -> b Source #