Agda.Utils.Monoid
Description
More monoids.
newtype MaxNat Source #
Maximum of on-negative (small) natural numbers.
Constructors
Fields
Defined in Agda.Utils.Monoid
Methods
mempty :: MaxNat #
mappend :: MaxNat -> MaxNat -> MaxNat #
mconcat :: [MaxNat] -> MaxNat #
(<>) :: MaxNat -> MaxNat -> MaxNat #
sconcat :: NonEmpty MaxNat -> MaxNat #
stimes :: Integral b => b -> MaxNat -> MaxNat #
succ :: MaxNat -> MaxNat #
pred :: MaxNat -> MaxNat #
toEnum :: Int -> MaxNat #
fromEnum :: MaxNat -> Int #
enumFrom :: MaxNat -> [MaxNat] #
enumFromThen :: MaxNat -> MaxNat -> [MaxNat] #
enumFromTo :: MaxNat -> MaxNat -> [MaxNat] #
enumFromThenTo :: MaxNat -> MaxNat -> MaxNat -> [MaxNat] #
(+) :: MaxNat -> MaxNat -> MaxNat #
(-) :: MaxNat -> MaxNat -> MaxNat #
(*) :: MaxNat -> MaxNat -> MaxNat #
negate :: MaxNat -> MaxNat #
abs :: MaxNat -> MaxNat #
signum :: MaxNat -> MaxNat #
fromInteger :: Integer -> MaxNat #
showsPrec :: Int -> MaxNat -> ShowS #
show :: MaxNat -> String #
showList :: [MaxNat] -> ShowS #
(==) :: MaxNat -> MaxNat -> Bool #
(/=) :: MaxNat -> MaxNat -> Bool #
compare :: MaxNat -> MaxNat -> Ordering #
(<) :: MaxNat -> MaxNat -> Bool #
(<=) :: MaxNat -> MaxNat -> Bool #
(>) :: MaxNat -> MaxNat -> Bool #
(>=) :: MaxNat -> MaxNat -> Bool #
max :: MaxNat -> MaxNat -> MaxNat #
min :: MaxNat -> MaxNat -> MaxNat #