This is type level numbers implemented using type families. Natural numbers use binary encoding. With default context stack numbers up to 2^18-1 could be represented. Signed integer numbers use balanced ternary encoding.
Implementation of type level natural and signed integer numbers in haskell using type families.
License
Shimuuar/type-level-numbers
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Implementation of type level natural and signed integer numbers in haskell using type families.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published