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
- rightToMaybe :: Either b a -> Maybe a
Documentation
maybeToRight :: b -> Maybe a -> Either b a Source #
Exactly like maybeToRight
from the either
package,
but without the dependency footprint
rightToMaybe :: Either b a -> Maybe a Source #
Exactly like rightToMaybe
from the either
package,
but without the dependency footprint