Skip to content

buzden/idris2-positive-nat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Positive natural number Nat1

An Idris 2 library with a data type for strictly positive natural number

five : Nat1
five = 5

failing "Can't find an implementation"
  zero : Nat1
  zero = 0

values : List Nat1
values = [4, 2, 1, 9]

values' : List Nat1
values' = [4 .. 9]

About

A strictly positive natural number data type

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages