From 401f17afa2e9cc3f2d734aef0d71a2c363838ebd Mon Sep 17 00:00:00 2001 From: pboutill Date: Fri, 2 Mar 2012 22:30:29 +0000 Subject: Noise for nothing Util only depends on Ocaml stdlib and Utf8 tables. Generic pretty printing and loc functions are in Pp. Generic errors are in Errors. + Training white-spaces, useless open, prlist copies random erasure. Too many "open Errors" on the contrary. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15020 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/cc/ccalgo.ml | 1 + plugins/cc/ccalgo.mli | 1 + plugins/cc/ccproof.ml | 1 + plugins/cc/cctac.ml | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/cc') diff --git a/plugins/cc/ccalgo.ml b/plugins/cc/ccalgo.ml index e3d27f7191..7434f5e8a5 100644 --- a/plugins/cc/ccalgo.ml +++ b/plugins/cc/ccalgo.ml @@ -9,6 +9,7 @@ (* This file implements the basic congruence-closure algorithm by *) (* Downey,Sethi and Tarjan. *) +open Errors open Util open Pp open Goptions diff --git a/plugins/cc/ccalgo.mli b/plugins/cc/ccalgo.mli index 78dbee3fe8..d530495f88 100644 --- a/plugins/cc/ccalgo.mli +++ b/plugins/cc/ccalgo.mli @@ -6,6 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) +open Errors open Util open Term open Names diff --git a/plugins/cc/ccproof.ml b/plugins/cc/ccproof.ml index bb1d50c997..4c8c80ba44 100644 --- a/plugins/cc/ccproof.ml +++ b/plugins/cc/ccproof.ml @@ -9,6 +9,7 @@ (* This file uses the (non-compressed) union-find structure to generate *) (* proof-trees that will be transformed into proof-terms in cctac.ml4 *) +open Errors open Util open Names open Term diff --git a/plugins/cc/cctac.ml b/plugins/cc/cctac.ml index ec31f8917b..0a3697e2a7 100644 --- a/plugins/cc/cctac.ml +++ b/plugins/cc/cctac.ml @@ -26,6 +26,7 @@ open Ccalgo open Tacinterp open Ccproof open Pp +open Errors open Util open Format @@ -410,7 +411,7 @@ let cc_tactic depth additionnal_terms gls= begin str "\"congruence with (" ++ prlist_with_sep - (fun () -> str ")" ++ pr_spc () ++ str "(") + (fun () -> str ")" ++ spc () ++ str "(") (Termops.print_constr_env (pf_env gls)) terms_to_complete ++ str ")\"," -- cgit v1.2.3