MIT licensed by Daniel Casanueva
Maintained by Daniel Casanueva (coding `at` danielcasanueva.eu)
This version can be pinned in stack with:positive-integer-0.1.3.0@sha256:c880cf599178fc4627ee5c3a45e1375b2795d344e2ccf7ca732e8cc463aaa413,647

Module documentation for 0.1.3.0

Depends on 1 package(full list with versions):

positive-integer

Haskell library to work with positive integers (i.e. 1, 2, 3, …). Some people call these the natural numbers. However, others include 0 as a natural number. The term positive integer is always clear. Besides, Natural is a widely used type in Haskell (and it has 0 in it).

In addition to functions strictly related to positive integers, functions for non-empty lists that take advantage of having positive integers available are also included. See Haddock documentation on Hackage for details.

Changes

0.1.3.0

  • New functions: prev and quotRem.
  • Write the Show instance in terms of showsPrec instead of show.

0.1.2.1

  • Fixed haddock comments.
  • Support base-4.22.

0.1.2.0

  • Added fromTypeNat1.
  • Added withTypeNat1.

0.1.1.0

  • Added fromTypeNat.
  • Added withTypeNat.

0.1.0.0

  • First version.