X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Futils.ml;h=960ec468aa003c6e73c49bb63a056742ceb0c6cc;hb=9c0b145d050a5981010435f54848dc862782709c;hp=2c3772de7b8e9207cc62314a02b9f23686e04b47;hpb=cba2938d929fd5119b1491686ddc224d5af618c6;p=tatoo.git diff --git a/src/utils.ml b/src/utils.ml index 2c3772d..960ec46 100644 --- a/src/utils.ml +++ b/src/utils.ml @@ -13,13 +13,16 @@ (* *) (***********************************************************************) +(* + Time-stamp: +*) + (** Various generic signatures and generic module and functor definitions *) INCLUDE "utils.ml" - module HashSet (H : Hashtbl.HashedType) : - Sigs.HashSet with type data = H.t = + Sigs.AUX.HashSet with type data = H.t = struct module T = Hashtbl.Make(H) type data = H.t @@ -33,8 +36,8 @@ struct let mem = T.mem end -module Pair (X : Sigs.Type) (Y : Sigs.Type) : - Sigs.Type with type t = X.t * Y.t = +module Pair (X : Sigs.AUX.Type) (Y : Sigs.AUX.Type) : + Sigs.AUX.Type with type t = X.t * Y.t = struct type t = X.t * Y.t let hash (x, y) = HASHINT2(X.hash x, Y.hash y)