syntax-tree-0.1.0.1: Typed ASTs
AST.Unify.Binding.Save
Description
Serialize the state of unification
save :: (Unify m t, Recursively (HasChild typeVars) t) => Tree t (UVarOf m) -> StateT (Tree typeVars Binding) m (Tree t UVar) Source #
Serialize the state of unification for the unification variables in a given value, and transform the value's unification variables to their serialized identifiers.