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.
-
Notifications
You must be signed in to change notification settings - Fork 1
Implementation of type level natural and signed integer numbers in haskell using type families.
License
Shimuuar/type-level-numbers
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.