Expand description

Types allowing to customize various aspects of the type system, such as type constraints and behavior of unary / binary ops.

Structs

Enums

  • Primitive types for the numeric arithmetic: Numeric type and Boolean.

Traits

  • Constraint that can be placed on Types.
  • Primitive type which supports a notion of linearity. Linear types are types that can be used in arithmetic ops.
  • Maps a literal value from a certain Grammar to its type. This assumes that all literals are primitive.
  • Marker trait for object-safe constraints, i.e., constraints that can be included into a DynConstraints.
  • Arithmetic allowing to customize primitive types and how unary and binary operations are handled during type inference.
  • PrimitiveType that has Boolean type as one of its variants.