-
Notifications
You must be signed in to change notification settings - Fork 25
[hack] section discharge unused #119
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
Conversation
|
There are two issues, one is about type inference of Context The other bug is that the API to apply an abbreviation is not sound. |
|
The first bug seems like a limitation we cannot really overcome, but we can at least document it. |
|
Here the new error message |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9684037 to
d16a38b
Compare
|
After a long journey the PR title looks reasonable again. |
| ]. | ||
|
|
||
| pred hack-append-phant-unify i:int, i:phant-term, o:phant-term. | ||
| hack-append-phant-unify 0 X Y :- append-phant-unify X Y. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CohenCyril can you write a line of doc for this thing?
In that setting storing terms in a program is problematic, since poly universes should be abstracted as clause parameters. We could do that, but the simplest approach is to just store term names. It is then the operation of "mentioning a name", building (global GR), which will have to take care to instantiate a poly constant. This stays todo, waiting for coq-elpi
4c4907e to
6e41414
Compare
|
Can we merge this? I'd like to port HB to the univ-poly branch of Coq-Elpi and I don't like branches over branches too much. |
|
Yes, let's merge! |
No description provided.