10000 Vernactypes: combine In and Out infos and abstract use of state info by SkySkimmer · Pull Request #18421 · rocq-prover/rocq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vernactypes: combine In and Out infos and abstract use of state info #18421

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

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

SkySkimmer
Copy link
Contributor
@SkySkimmer SkySkimmer commented Dec 19, 2023

Many combinations did not make sense.

The abstraction

type ('a,'b,'x) runner = { run : 'd. 'x -> ('a -> 'b * 'd) -> 'x * 'd } 

should hopefully make adding more independent states easier in the future.

@SkySkimmer SkySkimmer added kind: cleanup Code removal, deprecation, refactorings, etc. request: full CI Use this label when you want your next push to trigger a full CI. labels Dec 19, 2023
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 19, 2023
@ejgallego ejgallego self-assigned this Dec 19, 2023
Many combinations did not make sense.

The abstraction

~~~ocaml
type ('a,'b,'x) runner = { run : 'd. 'x -> ('a -> 'b * 'd) -> 'x * 'd }
~~~

should hopefully make adding more independent states easier in the future.
@SkySkimmer SkySkimmer marked this pull request as ready for review January 26, 2024 14:29
@SkySkimmer SkySkimmer requested a review from a team as a code owner January 26, 2024 14:29
@SkySkimmer SkySkimmer added the request: full CI Use this label when you want your next push to trigger a full CI. label Jan 26, 2024
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Jan 26, 2024
@SkySkimmer SkySkimmer added this to the 8.20+rc1 milestone Jan 26, 2024
Copy link
Member
@ejgallego ejgallego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good to me @SkySkimmer

I'm taking the freedom to cc @gasche as he was kind to discuss with me about this problem, in case he'd like to have a look.

The idea of this patch is to help with the classification of Coq commands ("vernaculars"). We'd like to track what commands do to Coq's state, in terms of read / write, in a functional setting.

At some point we'd like to extend this system to track updates to parsing state, opaque proofs, etc...

@ejgallego ejgallego added the part: vernac High level command interpretation. label Jan 26, 2024
@rocq-prover rocq-prover deleted a comment from coqbot-app bot Jan 29, 2024
@rocq-prover rocq-prover deleted a comment from coqbot-app bot Jan 29, 2024
Copy link
Contributor
coqbot-app bot commented Jan 29, 2024

🔴 CI failure at commit ee9efbb without any failure in the test-suite

✔️ Corresponding job for the base commit 078eaa3 succeeded

❔ Ask me to try to extract a minimal test case that can be added to the test-suite

🏃 @coqbot ci minimize will minimize the following target: ci-coq_library_undecidability
  • You can also pass me a specific list of targets to minimize as arguments.

@ejgallego
Copy link
Member

CI problem seems unrelated.

@coqbot: merge now

@coqbot-app coqbot-app bot merged commit 5b3475c into rocq-prover:master Jan 29, 2024
@SkySkimmer SkySkimmer deleted the vernactypes-combine branch January 30, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: cleanup Code removal, deprecation, refactorings, etc. part: vernac High level command interpretation.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants
0