Refactor shifting in contexts #543
timsueberkrueb
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, our typing context maintains De-Bruijn indices with respect to the current context. This means that we need to shift the whole context whenever we push or pop a telescope. Instead, we should consider inserting types as-is and only shift on-demand, i.e. when we lookup a type.
Beta Was this translation helpful? Give feedback.
All reactions