aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
Diffstat (limited to 'vernac')
-rw-r--r--vernac/pfedit.ml9
-rw-r--r--vernac/proof_global.ml7
-rw-r--r--vernac/vernac.mllib2
3 files changed, 18 insertions, 0 deletions
diff --git a/vernac/pfedit.ml b/vernac/pfedit.ml
new file mode 100644
index 0000000000..d6b9592176
--- /dev/null
+++ b/vernac/pfedit.ml
@@ -0,0 +1,9 @@
+(* Compat API / *)
+let get_current_context = Declare.get_current_context
+let solve = Proof.solve
+let by = Declare.by
+let refine_by_tactic = Proof.refine_by_tactic
+
+(* We don't want to export this anymore, but we do for now *)
+let build_by_tactic = Declare.build_by_tactic
+let build_constant_by_tactic = Declare.build_constant_by_tactic
diff --git a/vernac/proof_global.ml b/vernac/proof_global.ml
new file mode 100644
index 0000000000..b6c07042e2
--- /dev/null
+++ b/vernac/proof_global.ml
@@ -0,0 +1,7 @@
+(* compatibility module; can be removed once we agree on the API *)
+
+type t = Declare.Proof.t
+let map_proof = Declare.Proof.map_proof
+let get_proof = Declare.Proof.get_proof
+
+type opacity_flag = Declare.opacity_flag = Opaque | Transparent
diff --git a/vernac/vernac.mllib b/vernac/vernac.mllib
index 5a2bdb43d4..b7728fe699 100644
--- a/vernac/vernac.mllib
+++ b/vernac/vernac.mllib
@@ -44,3 +44,5 @@ ComArguments
Vernacentries
Vernacstate
Vernacinterp
+Proof_global
+Pfedit