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