Source

ocamlspot / utils.mli

Diff from to

File utils.mli

 module Hashtbl : sig
   include module type of Hashtbl with type ('a,'b) t = ('a, 'b) Hashtbl.t
   val of_list : int -> ('a * 'b) list -> ('a, 'b) Hashtbl.t
+  val memoize : ('a, 'b) Hashtbl.t -> ('a -> 'b) -> 'a -> 'b
 end
 
 module Hashset : sig