Data.Semilattice.Bound
Description
Lower and Upper bounds from Bounded instances.
Lower
Upper
Bounded
newtype Bound a Source #
A convenience bridging Bounded to Lower and Upper.
Constructors
Fields
Defined in Data.Semilattice.Bound
Methods
fold :: Monoid m => Bound m -> m #
foldMap :: Monoid m => (a -> m) -> Bound a -> m #
foldMap' :: Monoid m => (a -> m) -> Bound a -> m #
foldr :: (a -> b -> b) -> b -> Bound a -> b #
foldr' :: (a -> b -> b) -> b -> Bound a -> b #
foldl :: (b -> a -> b) -> b -> Bound a -> b #
foldl' :: (b -> a -> b) -> b -> Bound a -> b #
foldr1 :: (a -> a -> a) -> Bound a -> a #
foldl1 :: (a -> a -> a) -> Bound a -> a #
toList :: Bound a -> [a] #
null :: Bound a -> Bool #
length :: Bound a -> Int #
elem :: Eq a => a -> Bound a -> Bool #
maximum :: Ord a => Bound a -> a #
minimum :: Ord a => Bound a -> a #
sum :: Num a => Bound a -> a #
product :: Num a => Bound a -> a #
traverse :: Applicative f => (a -> f b) -> Bound a -> f (Bound b) #
sequenceA :: Applicative f => Bound (f a) -> f (Bound a) #
mapM :: Monad m => (a -> m b) -> Bound a -> m (Bound b) #
sequence :: Monad m => Bound (m a) -> m (Bound a) #
fmap :: (a -> b) -> Bound a -> Bound b #
(<$) :: a -> Bound b -> Bound a #
minBound :: Bound a #
maxBound :: Bound a #
succ :: Bound a -> Bound a #
pred :: Bound a -> Bound a #
toEnum :: Int -> Bound a #
fromEnum :: Bound a -> Int #
enumFrom :: Bound a -> [Bound a] #
enumFromThen :: Bound a -> Bound a -> [Bound a] #
enumFromTo :: Bound a -> Bound a -> [Bound a] #
enumFromThenTo :: Bound a -> Bound a -> Bound a -> [Bound a] #
(+) :: Bound a -> Bound a -> Bound a #
(-) :: Bound a -> Bound a -> Bound a #
(*) :: Bound a -> Bound a -> Bound a #
negate :: Bound a -> Bound a #
abs :: Bound a -> Bound a #
signum :: Bound a -> Bound a #
fromInteger :: Integer -> Bound a #
readsPrec :: Int -> ReadS (Bound a) #
readList :: ReadS [Bound a] #
readPrec :: ReadPrec (Bound a) #
readListPrec :: ReadPrec [Bound a] #
showsPrec :: Int -> Bound a -> ShowS #
show :: Bound a -> String #
showList :: [Bound a] -> ShowS #
(==) :: Bound a -> Bound a -> Bool #
(/=) :: Bound a -> Bound a -> Bool #
compare :: Bound a -> Bound a -> Ordering #
(<) :: Bound a -> Bound a -> Bool #
(<=) :: Bound a -> Bound a -> Bool #
(>) :: Bound a -> Bound a -> Bool #
(>=) :: Bound a -> Bound a -> Bool #
max :: Bound a -> Bound a -> Bound a #
min :: Bound a -> Bound a -> Bound a #
lowerBound :: Bound a Source #
upperBound :: Bound a Source #