Copyright | (C) 2015 mniip |
---|---|
License | BSD3 |
Maintainer | mniip <mniip@mniip.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
Finite number type.
is inhabited by exactly Finite
nn
values. Invariants:
getFinite x < natVal x
getFinite x >= 0
KnownNat n => Bounded (Finite n) Source # | Throws an error for |
KnownNat n => Enum (Finite n) Source # | |
Eq (Finite n) Source # | |
KnownNat n => Integral (Finite n) Source # | |
KnownNat n => Num (Finite n) Source # | Modulo arithmetic. Only the |
Ord (Finite n) Source # | |
KnownNat n => Read (Finite n) Source # | |
KnownNat n => Real (Finite n) Source # | |
Show (Finite n) Source # | |
Generic (Finite n) Source # | |
NFData (Finite n) Source # | |
type Rep (Finite n) Source # | |