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:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulefinite-typelits-0.2.0.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