From 71cdbefb8ce0f20e21f2c1dcd02f914fad24614c Mon Sep 17 00:00:00 2001 From: filliatr Date: Tue, 12 Oct 2004 09:10:29 +0000 Subject: 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 --- lib/options.ml | 2 ++ lib/options.mli | 2 ++ 2 files changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/options.ml b/lib/options.ml index c6b9621211..3459279bb1 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 3554bc98e5..d999425e92 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 -- cgit v1.2.3