This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,5 @@
Fail Print Prelude.
From Coq Require Import Prelude.
Print Prelude.
Require Import mytheory.
Check Hello.

View file

@ -0,0 +1,4 @@
(coq.theory
(name A)
(stdlib no)
(theories Coq))

View file

@ -0,0 +1,2 @@
(lang dune 3.5)
(using coq 0.6)

View file

@ -0,0 +1,3 @@
Print Prelude.
Require Import mytheory.
Check Hello.

View file

@ -0,0 +1,4 @@
(coq.theory
(name B)
(stdlib yes)
(theories Coq))

View file

@ -0,0 +1,2 @@
(lang dune 3.5)
(using coq 0.6)

View file

@ -0,0 +1,2 @@
Unset Elimination Schemes.
Inductive BootType := boot | type.

View file

@ -0,0 +1,6 @@
(coq.theory
(name Coq)
(package Coq)
(boot))
(include_subdirs qualified)

View file

@ -0,0 +1,2 @@
(lang dune 3.3)
(using coq 0.4)

View file

@ -0,0 +1,2 @@
Inductive Hello := World | Bye.

View file

@ -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