We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8fc833 commit cc90d82Copy full SHA for cc90d82
1 file changed
spectec/doc/semantics/il/4-subst.spectec
@@ -137,6 +137,7 @@ def $subst_typ(s, VAR x a*) = VAR x $subst_arg(s, a)* -- otherwise
137
def $subst_typ(s, optyp) = optyp
138
def $subst_typ(s, TUP tb*) = TUP $subst_typbind(s, tb)*
139
def $subst_typ(s, ITER t it) = ITER $subst_typ(s ++ s', t) $subst_iter(s, it')
140
+ -- if (it', s') = $refresh_iter(it)
141
def $subst_typ(s, MATCH x a* WITH inst*) = MATCH x $subst_arg(s, a)* WITH $subst_inst(s, inst)*
142
143
def $subst_deftyp(subst, deftyp) : deftyp
0 commit comments