Implement set-theoretic operation on 2WSATA (union, intersection,
[tatoo.git] / src / misc.ml
index 65c3a0e..743dda8 100644 (file)
@@ -25,7 +25,7 @@ struct
   type t = data T.t
   let create = T.create
   let add h v = T.add h v v
-  let find = T.find
+  let find h v = T.find h v
   let remove = T.remove
   let find_all = T.find_all
   let clear = T.clear
@@ -45,3 +45,5 @@ struct
       let x1, y1 = p1
       and x2, y2 = p2 in X.equal x1 x2 && Y.equal y1 y2
 end
+
+external int_of_bool : bool -> int = "%identity"