add Containers.Hashtbl with most combinators of CCHashtbl

This commit is contained in:
Simon Cruanes 2015-10-19 22:16:52 +02:00
parent bba674cdd3
commit f952541044

View file

@ -61,17 +61,21 @@ end
module Fun = CCFun module Fun = CCFun
module Hash = CCHash module Hash = CCHash
module Int = CCInt module Int = CCInt
(* FIXME
(** @since NEXT_RELEASE *)
module Hashtbl = struct module Hashtbl = struct
include (Hashtbl : module type of Hashtbl include (Hashtbl : module type of Hashtbl
with type statistics = Hashtbl.statistics with type statistics = Hashtbl.statistics
and module Make := Hashtbl.Make and module Make = Hashtbl.Make
and module type S := Hashtbl.S
and type ('a,'b) t := ('a,'b) Hashtbl.t and type ('a,'b) t := ('a,'b) Hashtbl.t
) )
include CCHashtbl (* still unable to include CCHashtbl itself, for the polymorphic functions *)
module type S' = CCHashtbl.S
module Make' = CCHashtbl.Make
module Counter = CCHashtbl.MakeCounter
module MakeDefault = CCHashtbl.MakeDefault
end end
*)
module List = struct module List = struct
include List include List
include CCList include CCList