base-compat-0.11.2: A compatibility layer for base
Safe HaskellSafe
LanguageHaskell2010

Data.Either.Compat

Documentation

isLeft :: Either a b -> Bool #

isRight :: Either a b -> Bool #

fromLeft :: a -> Either a b -> a #

fromRight :: b -> Either a b -> b #