Finite number type. The type Finite n is inhabited by exactly n
values in the range [0, n) including 0 but excluding n. Invariants:
getFinite x < natVal xgetFinite x >= 0GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02
Modulefinite-typelits-0.2.1.0Haskell2010
Finite number type. The type Finite n is inhabited by exactly n
values in the range [0, n) including 0 but excluding n. Invariants:
getFinite x < natVal xgetFinite x >= 0