Implement set-theoretic operation on 2WSATA (union, intersection,
[tatoo.git] / src / misc.ml
index f8156b0..743dda8 100644 (file)
 (*                                                                     *)
 (***********************************************************************)
 
-(*
-  Time-stamp: <Last modified on 2013-03-04 23:00:19 CET by Kim Nguyen>
-*)
-
 (** Various generic signatures and generic module and functor definitions
 *)
 INCLUDE "utils.ml"
@@ -29,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
@@ -49,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"