Skip to main content

Module subst

Module subst 

Source

Macros§

identity_subst 🔒
For types that do not contain any potentially substitutable content, we can use a simple impl. Note that while these types default [ir::subst::Term][] type to SymGenericTerm, that is just for convenience – they implement SubstWith for any type Term.

Structs§

SubstitutionFns

Traits§

Subst
A type implemented by terms that can be substituted.
SubstWith
Core substitution operation: produce a version of this type with variables replaced with instances of Term.

Functions§

default_free_var
subst_var