Expand description
Natural numbers with types.
Structs
- Successor.
- Zero.
Enums
- Not-a-number.
Constants
Traits
- Addition.
- Decrement.
- Whether two natural numbers are equal.
- Less than comparison.
- Implemented for natural numbers.
Functions
- Check that one natural number is equal to the other.
- Check that one natural number is less than the other.
- Provides a proof that the numbers are inequal.
Type Definitions
- The one type.
- The three type.
- The two type.
- The zero type.