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
Ltac2 typed notations #18432
Merged
Merged
Ltac2 typed notations #18432
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SkySkimmer
added
kind: feature
New user-facing feature request or implementation.
kind: documentation
Additions or improvement to documentation.
needs: changelog entry
This should be documented in doc/changelog.
part: ltac2
Issues and PRs related to the (in development) Ltac2 tactic langauge.
request: full CI
Use this label when you want your next push to trigger a full CI.
labels
Dec 21, 2023
coqbot-app
bot
removed
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Dec 21, 2023
SkySkimmer
added
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Dec 21, 2023
SkySkimmer
force-pushed
the
ltac2-typed-notation
branch
from
December 21, 2023 17:24
5ba11b7
to
5ceb80b
Compare
coqbot-app
bot
removed
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Dec 21, 2023
rlepigre
reviewed
Dec 21, 2023
SkySkimmer
added
needs: documentation
Documentation was not added or updated.
and removed
kind: documentation
Additions or improvement to documentation.
labels
Dec 22, 2023
SkySkimmer
added
request: full CI
Use this label when you want your next push to trigger a full CI.
and removed
needs: documentation
Documentation was not added or updated.
needs: changelog entry
This should be documented in doc/changelog.
labels
Jan 23, 2024
SkySkimmer
force-pushed
the
ltac2-typed-notation
branch
from
January 23, 2024 12:59
5ceb80b
to
fcaf408
Compare
coqbot-app
bot
removed
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Jan 23, 2024
doc/changelog added |
@coqbot run full ci |
ppedrot
approved these changes
Feb 7, 2024
@SkySkimmer do you plan to do it before merging? |
SkySkimmer
added
the
needs: progress
Work in progress: awaiting action from the author.
label
Feb 7, 2024
SkySkimmer
force-pushed
the
ltac2-typed-notation
branch
from
February 7, 2024 12:40
fcaf408
to
ed19ce3
Compare
coqbot-app
bot
added
the
needs: full CI
The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
label
Feb 7, 2024
SkySkimmer
removed
the
needs: progress
Work in progress: awaiting action from the author.
label
Feb 7, 2024
done |
SkySkimmer
force-pushed
the
ltac2-typed-notation
branch
from
February 7, 2024 16:01
ed19ce3
to
1512cc3
Compare
@coqbot run full ci |
coqbot-app
bot
removed
the
needs: full CI
The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
label
Feb 8, 2024
@coqbot merge now |
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 7, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 7, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 7, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 7, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 12, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 13, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 13, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 14, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 15, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 15, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
rlepigre
pushed a commit
to rlepigre/coq
that referenced
this pull request
Mar 15, 2024
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: feature
New user-facing feature request or implementation.
part: ltac2
Issues and PRs related to the (in development) Ltac2 tactic langauge.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #17477
We preserve the ability to define untyped notations with a flag (DONE unset the flag in the compat files), however it is not clear that this is at all useful.
To handle
globalize
on a typed notation (called when declaring an untyped notation which uses the typed notation, and when usingLtac2 Globalize
) we add a constructor to raw_tacexpr which contains a glb_tacexpr with its expected type information. The types will be checked when the untyped notation is typechecked (eg at use in a regular definition or in a typed notation).Aliases are currently never eagerly typed (so eg
Ltac2 Notation foo := Int.add ().
is still accepted), this could probably be easily changed.