base-compat-0.11.1: A compatibility layer for base
Safe HaskellSafe
LanguageHaskell98

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 #