base-compat-0.6.0: A compatibility layer for base
Data.Either.Compat
Synopsis
isLeft :: Either a b -> Bool
Return True if the given value is a Left-value, False otherwise.
True
Left
False
Since: 4.7.0.0
isRight :: Either a b -> Bool
Return True if the given value is a Right-value, False otherwise.
Right