This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
Fail Print Prelude.
|
||||
From Coq Require Import Prelude.
|
||||
Print Prelude.
|
||||
Require Import mytheory.
|
||||
Check Hello.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name A)
|
||||
(stdlib no)
|
||||
(theories Coq))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.5)
|
||||
(using coq 0.6)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Print Prelude.
|
||||
Require Import mytheory.
|
||||
Check Hello.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name B)
|
||||
(stdlib yes)
|
||||
(theories Coq))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.5)
|
||||
(using coq 0.6)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
Unset Elimination Schemes.
|
||||
Inductive BootType := boot | type.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(coq.theory
|
||||
(name Coq)
|
||||
(package Coq)
|
||||
(boot))
|
||||
|
||||
(include_subdirs qualified)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.3)
|
||||
(using coq 0.4)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
Inductive Hello := World | Bye.
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 3.3)
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
Testing composition of theories across a Dune workspace with a boot library and
|
||||
importing ``stdlib`` enabled or disabled.
|
||||
|
||||
Composing library A depending on Coq but having `(stdlib no)`:
|
||||
|
||||
$ dune build A
|
||||
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))
|
||||
Module
|
||||
Prelude
|
||||
:= Struct Inductive BootType : Set := boot : BootType | type : BootType. End
|
||||
|
||||
Hello
|
||||
: Set
|
||||
|
||||
Composing library B depending on Coq but having `(stdlib yes)`:
|
||||
|
||||
$ dune build B
|
||||
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))
|
||||
Module
|
||||
Prelude
|
||||
:= Struct Inductive BootType : Set := boot : BootType | type : BootType. End
|
||||
|
||||
Hello
|
||||
: Set
|
||||
Loading…
Add table
Add a link
Reference in a new issue