Crate peano_axioms

source ·
Expand description

Type-level numbers based on an extension of the Peano axioms.

Macros§

  • Reverse polish notation representation for type-level numerical expressions.

Structs§

  • A ratio of two numbers.
  • The successor to some number.
  • The predecessor to some number.
  • The number zero.

Traits§

  • Type-level absolute value.
  • Type-level exponentiation.
  • Type-level greatest common divisor.
  • Type-level inverse.
  • Type-level least common multiple.
  • Negative type-level numbers.
  • Non-negative type-level numbers.
  • Non-positive type-level numbers.
  • Non-zero type-level numbers.
  • Positive type-level numbers.
  • Types which can be converted to a runtime value.
  • Types which are part of a sequence.
  • Simplification of redundancies in type-level numbers.
  • Type level fraction-to-integer conversion.

Type Aliases§