Module fungi_lang::subst

source ·
Expand description

Static (typing-time) substitutions.

Functions

Simplistic policy to create a “primed” version of x
Test if a variable term appears in a vector of variable terms
Test if an index term variable appears in a vector of variable terms
Compute the free variables of an index term
Compute the free variables of a name term
Compute a list of variables (as terms) that appear free in the given term
magic variable name for the write scope function over name sets ("@!")
magic variable name for the write scope function over names ("@@")
Substitute an index for an index variable in another type
Substitute name terms into name terms
Substitute name terms into name terms
Substitute terms into computation effects
Substitute terms into computation effects
Substitute terms into computation types
Substitute terms into effects
Substitute terms into effects
Substitute terms into index terms
Substitute terms into index terms
Substitute name terms into name terms
Substitute terms into name terms
Substitute terms into propositions
Substitute terms into propositions
Substitute terms into types
Substitute terms into types
Substitute a type for a type variable in another type
Predicate for index terms
Predicate for name terms
Predicate for type terms