X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fextlib%2FpatternMatcher.ml;h=4e3e75fa560234aca5d7577219b0df9775e08b22;hb=refs%2Fheads%2Fmaster;hp=f57c3ea6cc82affc53668bdbf507fdde774be558;hpb=5b14f117bbaba498168de06ad0617d67741a6d17;p=helm.git diff --git a/matita/components/extlib/patternMatcher.ml b/matita/components/extlib/patternMatcher.ml index f57c3ea6c..4e3e75fa5 100644 --- a/matita/components/extlib/patternMatcher.ml +++ b/matita/components/extlib/patternMatcher.ml @@ -25,8 +25,6 @@ (* $Id$ *) -open Printf - type pattern_kind = Variable | Constructor type tag_t = int @@ -35,7 +33,7 @@ type pattern_id = int module OrderedInt = struct type t = int - let compare (x1:t) (x2:t) = Pervasives.compare x2 x1 (* reverse order *) + let compare (x1:t) (x2:t) = Stdlib.compare x2 x1 (* reverse order *) end module IntSet = Set.Make (OrderedInt) @@ -121,7 +119,7 @@ struct | _ -> kfail () (*CSC: was assert false, but it did happen*)) let success_closure ksucc = - (fun matched_terms constructors terms -> + (fun matched_terms constructors _terms -> (* prerr_endline "success_closure"; *) ksucc matched_terms constructors)