Comments (5)
Hi math-comp devs,
Would you have an objection to the solution I had proposed in this issue?
IMHO it would yield a simple and non-intrusive way to provide backward compatibility (and this strategy could be applied likewise if another math-comp theory is integrated in Coq in 8.8 or 8.9 etc.)
If it helps discussing the relevancy of my suggestion, I can prepare a PR.
Kind regards, Erik
from math-comp.
Hi @CohenCyril, OK thanks for your reply, I'm going to push a PR.
from math-comp.
On second thought, adding a quasi-empty file ssrmatching.v
in MathComp for compatibility is maybe not very elegant... so feel free to close this issue if you consider that this solution is not worth it.
from math-comp.
As the latest release 1.6.4 of MathComp is compatible with Coq >= 8.5, this question may be still topical.
Actually I need to refine a bit what I had suggested in the initial description:
- the plan would be to add some file
ssrmatching.v
containingRequire Export ssrmatching.
in foldermathcomp/ssreflect
(not in foldermathcomp/ssreflect/plugin/v8.6
) - for Coq 8.4 and 8.5, this quasi-empty file
ssrmatching.v
would be symlinked/replaced with the filessrmatching.v
taken from the appropriateplugin
subfolder thanks to Makefile.coq-makefile.
Admittedly it would be a not-very-elegant solution for compatibility, but for example it would facilitate the compilation of CoqEAL (which relies on MathComp and ssrmatching
) with Coq 8.5 + Coq 8.6 etc., keeping the same Coq theories for any version of Coq and needing no extra configure code in CoqEAL.
@gares @maximedenes @CohenCyril, do you have an opinion on this suggestion?
from math-comp.
I'm not sure I understand, but please prepare a PR.
from math-comp.
Related Issues (20)
- vm_compute getting very slow HOT 14
- Please pick the version you prefer for Coq 8.18 in Coq Platform 2023.10 HOT 13
- Naive parametric instance problem HOT 5
- Performance problem with multiple rewrite in mathcomp2 HOT 1
- does `leq_subr` follow the naming convention?
- rpred expose the iinternal of Num.real HOT 5
- Disable warning about redundant projection
- Semi-modules and semi-algebras HOT 3
- Incoherence of the implicit status of lemmas HOT 6
- Refactor qpoly and poly HOT 2
- Detailed installation instructions with make HOT 2
- `fun_scope` and `function_scope` HOT 5
- `Bind Scope` declarations for structure record types
- Remove 1.16.0 deprecations HOT 1
- Check MC1 backports HOT 2
- Avoid exporting warning settings
- Require Import order issue with associativity settings HOT 1
- Building with COQ 8.19 results in `Error: A left-recursive notation must have an explicit level.` in `fingroup/presentation.v` HOT 4
- Mono in partial order morphisms HOT 7
- Please pick the version you prefer for Coq 8.19 in Coq Platform 2024.01
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from math-comp.