Agda-2.2.6: A dependently typed functional programming language and proof assistantSource codeContentsIndex
Agda.Utils.Either
Description
Utilities for the Either type
Synopsis
isLeft :: Either a b -> Bool
isRight :: Either a b -> Bool
tests :: IO Bool
Documentation
isLeft :: Either a b -> BoolSource
Returns True iff the argument is Left x for some x.
isRight :: Either a b -> BoolSource
Returns True iff the argument is Right x for some x.
tests :: IO BoolSource
Produced by Haddock version 2.4.2