mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-01-24 01:56:41 -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 Hash = CCHash
|
||||
module Int = CCInt
|
||||
(* FIXME
|
||||
|
||||
(** @since NEXT_RELEASE *)
|
||||
module Hashtbl = struct
|
||||
include (Hashtbl : module type of Hashtbl
|
||||
with type statistics = Hashtbl.statistics
|
||||
and module Make := Hashtbl.Make
|
||||
and module type S := Hashtbl.S
|
||||
and module Make = Hashtbl.Make
|
||||
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
|
||||
*)
|
||||
|
||||
module List = struct
|
||||
include List
|
||||
include CCList
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue