Skip to content
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

consistently require-import all_ssreflect instead of pieces of it #27

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

palmskog
Copy link
Member

Coq's stdlib will soon be reorganized, not least due to renaming of Coq. To avoid problems with this, how about only depending on mathcomp? This is likely to be a lot more future-proof.

@palmskog
Copy link
Member Author

@clayrat OK by you to merge this? The main upside is avoiding a bunch of warnings (and hopefully getting Rocq compatibility for free).

@clayrat
Copy link
Member

clayrat commented Dec 30, 2024

Hey, sorry for the long reply. I'm really not a fan of umbrella imports, is there perhaps a more fine-grained way to get rid of these warnings? I believe the Rocq thing can be mitigated by doing From Stdlib instead of From Coq?

@palmskog
Copy link
Member Author

@clayrat but in SSR/MathComp, all_ssreflect and similar are the recommended way by devs to include modules, not least due to import issues - see this discussion where a bunch of packages got broken due to piecewise imports.

@palmskog
Copy link
Member Author

palmskog commented Dec 30, 2024

From Stdlib will break compatibility with all Coq versions (i.e., all releases up to and including 8.20).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants