This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
Inductive Hello := World | Bye.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(coq.theory
|
||||
(name A))
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
From A Require Import a.
|
||||
|
||||
Check Hello.
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(coq.theory
|
||||
(name B)
|
||||
(theories A))
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name C)
|
||||
(package C)
|
||||
(theories B))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.2)
|
||||
(using coq 0.3)
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
Testing composition of theories with two private theories and a third public
|
||||
theory. As expected, the private theories build, but the public theory fails
|
||||
because a public theory cannot depend on a private theory.
|
||||
|
||||
$ dune build
|
||||
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
|
||||
3.8 and will be removed in an upcoming Dune version.
|
||||
Hint: To disable this warning, add the following to your dune-project file:
|
||||
(warnings (deprecated_coq_lang_lt_08 disabled))
|
||||
Hello
|
||||
: Set
|
||||
File "C/dune", line 4, characters 11-12:
|
||||
4 | (theories B))
|
||||
^
|
||||
Theory "B" is private, it cannot be a dependency of a public theory. You need
|
||||
to associate "B" to a package.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue