FICHA · MANJARO

haskell-fin

Nat and Fin: peano naturals and finite numbers

  • haskell-library
  • LIBRARY
  • TYPE-LEVEL
  • MATH
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

A Haskell library providing Nat and Fin types for Peano naturals and finite numbers. It helps represent numbers and indexes with stronger type-level guarantees about bounds.

Developers use it in dependently typed patterns, vectors, proofs, and APIs where out-of-range values should be prevented by construction. The extra type safety is most useful in libraries that justify the added complexity.

Permissions

Permissions not analysed for this source yet.