mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-01-28 11:54:51 -05:00
add Containers.Hashtbl with most combinators of CCHashtbl
This commit is contained in:
parent
bba674cdd3
commit
f952541044
1 changed files with 9 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue