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
Allow abbreviations when global references are expected, including for 8.12's auto using 0
#12576
Comments
Tagging for 8.12 because this reduces the regressions from #12512. |
And tagging @herbelin, I guess, since this is about parsing. |
Sorry, but this is out of scope for 8.12. |
No worries, it's your job to say no — and #12512 seems not scheduled for 8.12. |
Hi, just commenting about the |
As discussed privately with @herbelin yesterday, |
To minimize surprise for the user, I think that
I'd expect that for nullary abbreviations —
Notation foo := bar.
— and hope that allows usingauto using 0
rather thanauto using O
.In fact, I'd even like the same treatment for actual nullary notations, and not just abbreviations. My (naive?) plan was to parse global references using the term parser and post-process the result, to translate strings into the corresponding notations (and underlying references) and filter out terms that aren't references.
EDIT: part of my argument is that (1)
0
andO
are usually interchangeable (2) explaining that they aren't via current Coq parse errors is not a great UX.The text was updated successfully, but these errors were encountered: