An open API service indexing awesome lists of open source software.

https://github.com/jw3126/naturals

Inefficient natural numbers
https://github.com/jw3126/naturals

haskell lazy natural-numbers

Last synced: about 1 month ago
JSON representation

Inefficient natural numbers

Awesome Lists containing this project

README

        

# Naturals

Peano style definition of natural numbers. These do not satsfy the induction principle however, as you can define "infinite" numbers.
```Haskell
*Main Lib> inf = suc inf
*Main Lib> inf > zero
True
```
Our Naturals are codata instead of data.