aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorglondu2009-09-17 15:58:38 +0000
committerglondu2009-09-17 15:58:38 +0000
commitf8a790f577366f74645d15e767ce827dfa1f0908 (patch)
tree1a0482bea0ff9a62525df9a5d73a6bc4dfe5c3d3 /tactics
parent61ccbc81a2f3b4662ed4a2bad9d07d2003dda3a2 (diff)
Remove useless Liboject.export_function field
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12338 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r--tactics/auto.ml3
-rw-r--r--tactics/autorewrite.ml5
-rw-r--r--tactics/dhyp.ml3
-rw-r--r--tactics/extratactics.ml43
-rw-r--r--tactics/tacinterp.ml3
5 files changed, 5 insertions, 12 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index 8b68fa09b2..e70279a8d9 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -457,8 +457,7 @@ let (inAutoHint,_) =
cache_function = cache_autohint;
load_function = (fun _ -> cache_autohint);
subst_function = subst_autohint;
- classify_function = classify_autohint;
- export_function = export_autohint }
+ classify_function = classify_autohint }
let create_hint_db l n st b =
diff --git a/tactics/autorewrite.ml b/tactics/autorewrite.ml
index dbaedeefc8..6abe8938c6 100644
--- a/tactics/autorewrite.ml
+++ b/tactics/autorewrite.ml
@@ -215,8 +215,6 @@ let cache_hintrewrite (_,(rbase,lrl)) =
let lrl = HintDN.map (fun (i,h) -> (i + max, h)) lrl in
rewtab:=Stringmap.add rbase (HintDN.union lrl base) !rewtab
-let export_hintrewrite x = Some x
-
let subst_hintrewrite (_,subst,(rbase,list as node)) =
let list' = HintDN.subst subst list in
if list' == list then node else
@@ -231,8 +229,7 @@ let (inHintRewrite,_)=
Libobject.cache_function = cache_hintrewrite;
Libobject.load_function = (fun _ -> cache_hintrewrite);
Libobject.subst_function = subst_hintrewrite;
- Libobject.classify_function = classify_hintrewrite;
- Libobject.export_function = export_hintrewrite }
+ Libobject.classify_function = classify_hintrewrite }
open Clenv
diff --git a/tactics/dhyp.ml b/tactics/dhyp.ml
index e3dddacb0f..0d4684e224 100644
--- a/tactics/dhyp.ml
+++ b/tactics/dhyp.ml
@@ -220,8 +220,7 @@ let (inDD,_) =
cache_function = cache_dd;
open_function = (fun i o -> if i=1 then cache_dd o);
subst_function = subst_dd;
- classify_function = classify_dd;
- export_function = export_dd }
+ classify_function = classify_dd }
let catch_all_sort_pattern = PMeta(Some (id_of_string "SORT"))
let catch_all_type_pattern = PMeta(Some (id_of_string "TYPE"))
diff --git a/tactics/extratactics.ml4 b/tactics/extratactics.ml4
index c7c235cc0f..6ac35317cb 100644
--- a/tactics/extratactics.ml4
+++ b/tactics/extratactics.ml4
@@ -408,8 +408,7 @@ let (inTransitivity,_) =
cache_function = cache_transitivity_lemma;
open_function = (fun i o -> if i=1 then cache_transitivity_lemma o);
subst_function = subst_transitivity_lemma;
- classify_function = (fun o -> Substitute o);
- export_function = (fun x -> Some x) }
+ classify_function = (fun o -> Substitute o) }
(* Synchronisation with reset *)
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml
index 8e55d4f5cc..8d8b94c6cb 100644
--- a/tactics/tacinterp.ml
+++ b/tactics/tacinterp.ml
@@ -2836,8 +2836,7 @@ let (inMD,outMD) =
load_function = load_md;
open_function = open_md;
subst_function = subst_md;
- classify_function = (fun o -> Substitute o);
- export_function = (fun x -> Some x)}
+ classify_function = (fun o -> Substitute o)}
let print_ltac id =
try