Copyright | © Clément Delafargue 2021 |
---|---|
License | MIT |
Maintainer | clement@delafargue.name |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- maybeToRight :: b -> Maybe a -> Either b a
Documentation
maybeToRight :: b -> Maybe a -> Either b a Source #
Exactly like maybeToRight
from the either
package,
but without the dependency footprint