types#
Python representations of Tierkreis types, and utilities to convert to and from known python types.
Classes
Boolean. |
|
A Tierkreis type constraint. |
|
IEEE 754 double precision floating point number. |
|
A higher order graph type. |
|
Signed integer. |
|
Type kind base class. |
|
Constraint that a row lacks a particular label. |
|
A map from keys of one type to values of another. |
|
A pair of two types. |
|
A type is constrained to be a union of two other types. |
|
A row of fields, each with a label and a type. |
|
Used to denote row variables. |
|
Methods implemented by Tierkreis-compatible types used as alternatives to Base |
|
Used to denote individual types. |
|
UTF-8 encoded string. |
|
A composite structure of named fields. |
|
A pair of values that can be converted to/from a Tierkreis Pair type. |
|
Abstract base class for all Tierkreis types. |
|
Generate and parse struct field labels for tuple members. |
|
A polymorphic type scheme, defined by a TierkreisType body, outer type variables, and constraints. |
|
Utility to generate tags for Union types, to convert them to VariantType. |
|
Base class to tag dataclasses with to indicate they should be unpacked in to a row. |
|
Named type variable. |
|
A discriminated union type with named variants. |
|
A vector of elements of the same type. |
Exceptions
|
Python type cannot be converted to a Tierkreis type. |
|
Unable to convert Union annotation. |