@hackage numericpeano0.2.0.0
Peano numbers with attendant bells and whistles.
Categories
License
Apache-2.0
Maintainer
janos.tapolczai@gmail.com
Links
- Homepage
- Documentation
- No source repository
- Security
Versions
Installation
Dependencies (1)
Dependents (3)
@hackage/repl-toolkit, @hackage/acme-everything, @hackage/type-iso
numericpeano
Peano numbers with the expected bells and whistles. The implementation is naive (the memory footprint of a number n is O(n) bytes).
Features:
- lazy evaluation, i.e. compatibility with infinity,
- positive as well as negative numbers (N and Z),
- instances for the usual typeclasses: Enum, Bounded, Num, Integral, etc.