]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_paramodulation/nCicParamod.ml
Use of standard OCaml syntax
[helm.git] / matita / components / ng_paramodulation / nCicParamod.ml
index 199e101fa61a60d4546aa677ef75a5bfa8883db7..702cd8c16dc8c3482bdf64883e3b95b8de3efbbb 100644 (file)
@@ -71,9 +71,9 @@ let nparamod status metasenv subst context t table =
       let context = context 
     end 
   in
-  let module B = B(C) in
+  (*let module B = B(C) in*)
   let module P = NCicParamod(C) in
-  let module Pp = Pp.Pp(B) in
+  (*let module Pp = Pp.Pp(B) in*)
   let bag, maxvar = Terms.empty_bag, 0 in
   let (bag,maxvar), goals = 
     HExtlib.list_mapi_acc (fun x _ a -> P.mk_goal a x) (bag,maxvar) [t]
@@ -205,7 +205,7 @@ let is_equation status metasenv subst context ty =
     NCicMetaSubst.saturate status ~delta:0 metasenv subst context
       ty 0 
   in match hty with
-    | NCic.Appl (eq ::tl) when eq = CB.eqP -> true
+    | NCic.Appl (eq ::_) when eq = CB.eqP -> true
     | _ -> false
 ;;