aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-10-12 09:10:29 +0000
committerGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-10-12 09:10:29 +0000
commit71cdbefb8ce0f20e21f2c1dcd02f914fad24614c (patch)
tree557804680a79f3b30369092c837b92c79901a41e /lib
parentcfd34abde53f114f3b66e6d28ee6d7384981c8b4 (diff)
option -no-hash-consing pour supprimmer le hash-consing
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6201 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib')
-rw-r--r--lib/options.ml2
-rw-r--r--lib/options.mli2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/options.ml b/lib/options.ml
index c6b962121..3459279bb 100644
--- a/lib/options.ml
+++ b/lib/options.ml
@@ -73,6 +73,8 @@ let silently f x =
let if_silent f x = if !silent then f x
let if_verbose f x = if not !silent then f x
+let hash_cons_proofs = ref true
+
(* The number of printed hypothesis in a goal *)
let print_hyps_limit = ref (None : int option)
diff --git a/lib/options.mli b/lib/options.mli
index 3554bc98e..d999425e9 100644
--- a/lib/options.mli
+++ b/lib/options.mli
@@ -44,6 +44,8 @@ val silently : ('a -> 'b) -> 'a -> 'b
val if_silent : ('a -> unit) -> 'a -> unit
val if_verbose : ('a -> unit) -> 'a -> unit
+val hash_cons_proofs : bool ref
+
(* Temporary activate an option ('c must be an atomic type) *)
val with_option : bool ref -> ('a -> 'b) -> 'a -> 'b