base-compat-0.8.1.1: A compatibility layer for base

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Either.Compat

Synopsis

Documentation

isLeft :: Either a b -> Bool

Return True if the given value is a Left-value, False otherwise.

Since: 4.7.0.0

isRight :: Either a b -> Bool

Return True if the given value is a Right-value, False otherwise.

Since: 4.7.0.0