Skip to main content

Module types

Module types 

Source
Expand description

Internal type representation used by the inferencer/checker.

We model types as either ground constructors (Int, List[T], …) or unification variables. The unifier module handles solving.

Structs§

EffectKind
Effect set with an optional row variable.
EffectSet
Scheme
A polymorphic scheme: type with universally-quantified type variables and effect-row variables.

Enums§

EffectArg
Mirror of lex-ast::EffectArg. Type-level effects use this so the checker, lex-vcs ChangeEffectSig, and the runtime gate all reason about the same shape (#207).
Prim
Ty

Type Aliases§

TyVarId