]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql_interpreter/sub.ml
* bug fixed: the property construct did not sort and did not remove duplicates
[helm.git] / helm / ocaml / mathql_interpreter / sub.ml
index e59bf049d1e25fd6c05e63495f8dac59fd2b1dcb..a8ca9e62915e6828575d6a4a28e1bcb51f1bdea4 100644 (file)
@@ -32,3 +32,12 @@ let rec sub_ex v1 v2 =
   | s1::_, s2::tl2 when s2 < s1 -> sub_ex v1 tl2
   | s1::tl1, s2::tl2 -> sub_ex tl1 tl2
 ;;
+
+(* DEBUGGING ONLY
+let sub_ex v1 v2 =
+ let b = sub_ex v1 v2 in
+ prerr_endline
+  ("SUB({" ^ String.concat "," v1 ^ "},{" ^ String.concat "," v2 ^"}) = " ^
+   if b then "tt" else "ff") ;
+ b
+;; *)