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

Please use qualified paths in the example files #162

Open
MSoegtropIMC opened this issue Sep 24, 2021 · 5 comments
Open

Please use qualified paths in the example files #162

MSoegtropIMC opened this issue Sep 24, 2021 · 5 comments

Comments

@MSoegtropIMC
Copy link
Contributor

Dear CoRN Team,

the example files, like examples/RealFaster.v require CoRN modules without qualification. This doesn't work if CoRN is installed as opam package, so users have to patch the examples in order to run them. It also makes it hard to find usable "smoke test kit" files for Coq Platform.

Best regards,

Michael

@spitters
Copy link
Collaborator

I believe there is a tool that can do this, isn't there?
I'd be happy to merge a PR. I don't know when I have time to do it myself.

@Zimmi48
Copy link
Member

Zimmi48 commented Oct 17, 2021

@MSoegtropIMC
Copy link
Contributor Author

@spitters : I have issues compiling examples after fixing the require paths. E.g. when I prepend CoRN.reals.fast to the requires in PlotExample.v, I get an error on the Time Eval vm_compute in PlotQ ...:

The term "∗" has type "Lt = Lt" while it is expected to have type "Qpos".

@spitters
Copy link
Collaborator

spitters commented Jan 26, 2022 via email

@MSoegtropIMC
Copy link
Contributor Author

Could it be a scope problem?

Likely. I could very likely fix it myself - I am just a bit busy with the Coq Platform release.

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

No branches or pull requests

3 participants