singleton-nats

Unary natural numbers relying on the singletons infrastructure.

https://github.com/AndrasKovacs/singleton-nats

Version on this page:0.4.6@rev:2
LTS Haskell 22.39:0.4.7@rev:1
Stackage Nightly 2024-10-31:0.4.7@rev:1
Latest on Hackage:0.4.7@rev:1

See all snapshots singleton-nats appears in

BSD-3-Clause licensed by András Kovács
Maintained by [email protected]
This version can be pinned in stack with:singleton-nats-0.4.6@sha256:4da245749d653bf3eb967837eccbc3a2e755389244b14d5eb8e6009954ef8f10,1633

Module documentation for 0.4.6

Used by 1 package in lts-21.11(full list with versions):

singleton-nats

Hackage Build Status

Unary natural numbers relying on the singletons infrastructure.

Changes

0.4.6 [2021.03.12]

  • Allow building with singletons-base.

0.4.5 [2020.04.11]

  • Remove the use of overlapping patterns in NatMinus.

0.4.4 [2020.03.25]

  • Allow singletons-2.7.

0.4.3 [2019.08.27]

  • Allow singletons-2.6.

0.4.2 [2018.09.18]

  • Allow singletons-2.5.

0.4.1 [2018.05.02]

  • Add a Num Nat instance.
  • Implement signum in the PNum/SNum instances for Nat.
  • Define defunctionalization symbols for Lit.
  • Define someNatVal.

0.4.0.4 [2018.01.09]

  • Allow singletons-2.4.

0.4.0.3 [2017.11.03]

  • Allow singletons-2.3.