-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt to coq/coq#17836 (sort poly) #95
Conversation
Maybe we should start versioning this file? |
Please merge now. |
The reason I waited with merging this for so long is that this PR does not work with any released version of Coq. If not, does this mean that each project that wants to use |
This comment was marked as duplicate.
This comment was marked as duplicate.
For Unsafe API we make no promise about stability. We try to keep backwards compatibility as much as possible, but sometimes you have to reflect the kernel changes to the upper layer. A way to make the API more robust is to provide a bunch of accessors and view types, but fundamentally the term AST is tied to the Coq version and the current type theory implemented by it. |
destProj should be in the Ltac2 stdlib, but note that it's not compatible either (returns a 3-tuple instead of 2-tuple since 8.19). |
This is true, but |
Or instead of |
In this case, it's probably better to have |
Records are a bit more robust for elimination rules, but they are not great for introduction rules as one has to provide all the fields. A reasonable balance for robustness is to also provide a helper builder with default values that can be overridden e.g. using |
Regardless of the API discussion, IIUC this PR should be closed as an alternative fix was merged? |
Yes, closing |
No description provided.