Data.Or
data Or a b Source #
Constructors
Defined in Data.Or
Methods
readsPrec :: Int -> ReadS (Or a b) #
readList :: ReadS [Or a b] #
readPrec :: ReadPrec (Or a b) #
readListPrec :: ReadPrec [Or a b] #
showsPrec :: Int -> Or a b -> ShowS #
show :: Or a b -> String #
showList :: [Or a b] -> ShowS #
(==) :: Or a b -> Or a b -> Bool #
(/=) :: Or a b -> Or a b -> Bool #
compare :: Or a b -> Or a b -> Ordering #
(<) :: Or a b -> Or a b -> Bool #
(<=) :: Or a b -> Or a b -> Bool #
(>) :: Or a b -> Or a b -> Bool #
(>=) :: Or a b -> Or a b -> Bool #
max :: Or a b -> Or a b -> Or a b #
min :: Or a b -> Or a b -> Or a b #
or :: (a -> c) -> (b -> c) -> (a -> b -> c) -> Or a b -> c Source #
lefts :: [Or a b] -> [a] Source #
rights :: [Or a b] -> [b] Source #
fromLeft :: a -> Or a b -> a Source #
fromRight :: b -> Or a b -> b Source #
partitionOrs :: [Or a b] -> ([a], [b]) Source #