Strictly positive integers (1,2,3,...).
import StrictlyPositiveInt as SPI
a = SPI.fromInt 5
b = a `SPI.plus` (SPI.fromInt 6)
c = b `SPI.minus` SPI.one
d = SPI.toInt c -- 10
- Install purescript:
npm install -g purescript
- Install bower:
npm install -g bower
- Install pulp:
npm install -g pulp
- Install dependencies:
npm install && bower install
- Run tests:
pulp test
Licensed under a MIT license
- Module documentation is published on Pursuit.