mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
update containers.ml so as to include all core containers
This commit is contained in:
parent
8aab182642
commit
dbe00f6ca5
1 changed files with 22 additions and 14 deletions
|
|
@ -16,7 +16,16 @@ module Array = struct
|
||||||
include Array
|
include Array
|
||||||
include CCArray
|
include CCArray
|
||||||
end
|
end
|
||||||
|
module ArrayLabels = struct
|
||||||
|
include ArrayLabels
|
||||||
|
include CCArrayLabels
|
||||||
|
end
|
||||||
|
module Array_slice = CCArray_slice
|
||||||
module Bool = CCBool
|
module Bool = CCBool
|
||||||
|
module Char = struct
|
||||||
|
include Char
|
||||||
|
include (CCChar : module type of CCChar with type t := t)
|
||||||
|
end
|
||||||
module Float = CCFloat
|
module Float = CCFloat
|
||||||
module Format = struct
|
module Format = struct
|
||||||
include Format
|
include Format
|
||||||
|
|
@ -25,6 +34,8 @@ end
|
||||||
module Fun = CCFun
|
module Fun = CCFun
|
||||||
module Hash = CCHash
|
module Hash = CCHash
|
||||||
module Int = CCInt
|
module Int = CCInt
|
||||||
|
module Int64 = CCInt64
|
||||||
|
module IO = CCIO
|
||||||
|
|
||||||
(** @since 0.14 *)
|
(** @since 0.14 *)
|
||||||
module Hashtbl = struct
|
module Hashtbl = struct
|
||||||
|
|
@ -39,22 +50,32 @@ module Hashtbl = struct
|
||||||
module Counter = CCHashtbl.MakeCounter
|
module Counter = CCHashtbl.MakeCounter
|
||||||
module MakeDefault = CCHashtbl.MakeDefault
|
module MakeDefault = CCHashtbl.MakeDefault
|
||||||
end
|
end
|
||||||
|
module Heap = CCHeap
|
||||||
module List = struct
|
module List = struct
|
||||||
include List
|
include List
|
||||||
include CCList
|
include CCList
|
||||||
end
|
end
|
||||||
|
module ListLabels = struct
|
||||||
|
include ListLabels
|
||||||
|
include CCListLabels
|
||||||
|
end
|
||||||
module Map = struct
|
module Map = struct
|
||||||
module type OrderedType = Map.OrderedType
|
module type OrderedType = Map.OrderedType
|
||||||
include CCMap
|
include CCMap
|
||||||
end
|
end
|
||||||
module Option = CCOpt
|
module Option = CCOpt
|
||||||
|
module Ord = CCOrd
|
||||||
module Pair = CCPair
|
module Pair = CCPair
|
||||||
|
module Parse = CCParse
|
||||||
module Random = struct
|
module Random = struct
|
||||||
include Random
|
include Random
|
||||||
include CCRandom
|
include CCRandom
|
||||||
end
|
end
|
||||||
module Ref = CCRef
|
module Ref = CCRef
|
||||||
|
module Result = struct
|
||||||
|
include Result
|
||||||
|
include CCResult
|
||||||
|
end
|
||||||
module Set = struct
|
module Set = struct
|
||||||
module type OrderedType = Set.OrderedType
|
module type OrderedType = Set.OrderedType
|
||||||
include CCSet
|
include CCSet
|
||||||
|
|
@ -65,16 +86,3 @@ module String = struct
|
||||||
end
|
end
|
||||||
module Vector = CCVector
|
module Vector = CCVector
|
||||||
|
|
||||||
module Int64 = CCInt64
|
|
||||||
|
|
||||||
module IO = CCIO
|
|
||||||
|
|
||||||
module Char = struct
|
|
||||||
include Char
|
|
||||||
include (CCChar : module type of CCChar with type t := t)
|
|
||||||
end
|
|
||||||
|
|
||||||
module Result = struct
|
|
||||||
include Result
|
|
||||||
include CCResult
|
|
||||||
end
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue