protolude-0.1.10: A sensible set of defaults for writing custom Preludes.

Safe HaskellSafe
LanguageHaskell2010

Either

Documentation

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

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

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