-
Notifications
You must be signed in to change notification settings - Fork 682
Remove "env" argument of Evd.set_(l)eq_sort #20069
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
Does it really hurt if we keep it around? We could realize at some point we need it for unrelated reasons. Functions that take env + sigma are a common design pattern in the code base. |
Taking useless arguments is a bad pattern. |
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.
As you wish.
9bca120
to
a592f0a
Compare
a592f0a
to
98b54ff
Compare
It was only used to get type_in_type, but it's better to get it from the ustate IMO.
@coqbot merge now |
@ppedrot: Please take care of the following overlays:
|
Adapt to rocq-prover/rocq#20069 (set_leq_sort doesn't need an env)
Adapt to rocq-prover/rocq#20069 (set_leq_sort doesn't need an env)
Adapt to rocq-prover/rocq#20069 (set_leq_sort doesn't need an env)
It was only used to get type_in_type, but it's better to get it from the ustate IMO.
Overlays: