Skip to content

Implement substitution ourselves to avoid mishandling binders - #138

Merged
msullivan merged 1 commit into
mainfrom
capture-avoiding-subst
Oct 14, 2026
Merged

msullivan merged 1 commit into
mainfrom
capture-avoiding-subst

Conversation

@msullivan

Copy link
Copy Markdown
Collaborator

If we have something like _UnpackMap[Iter[T], T, T], that second T
is a bound variable, not the same as the first one. Substituting for
T should not go in under the binder.

If we have something like `_UnpackMap[Iter[T], T, T]`, that second `T`
is a bound variable, not the same as the first one. Substituting for
`T` should not go in under the binder.
@msullivan
msullivan merged commit 48045cc into main Oct 14, 2026
5 checks passed
@msullivan
msullivan deleted the capture-avoiding-subst branch October 14, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant