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
ltac2val:() quotation in ltac1 to return Ltac1.t values #17575
Conversation
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.
Some suggestions
plugins/ltac2/tac2env.ml
Outdated
@@ -308,11 +308,23 @@ let ltac1_prefix = | |||
|
|||
(** Generic arguments *) | |||
|
|||
let wit_ltac2 = Genarg.make0 "ltac2:tactic" | |||
let wit_ltac2_val = Genarg.make0 "ltac2:value" | |||
module Ltac2in1 = struct |
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.
This should probably go into Tac2expr instead, and also I'm not a huge fan of the module wrapper.
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.
Ping @SkySkimmer
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.
changed
@coqbot merge now |
@ppedrot: Please take care of the following overlays:
|
Adapt to coq/coq#17575 (ltac2val in ltac1)
This allows returning values from ltac2 to ltac1
Overlays: