mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
correct comments for ocamldoc
This commit is contained in:
parent
a9cdce9424
commit
3da4f75487
3 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ module type S2 = sig
|
|||
(** Wrap the function with the cache *)
|
||||
end
|
||||
|
||||
(** {2 Dummy cache (no caching) *)
|
||||
(** {2 Dummy cache (no caching)} *)
|
||||
|
||||
module Dummy(X : sig type t end) : S with type key = X.t
|
||||
|
||||
|
|
@ -93,7 +93,7 @@ module Replacing(X : HASH) : S with type key = X.t
|
|||
|
||||
module Replacing2(X : HASH)(Y : HASH) : S2 with type key1 = X.t and type key2 = Y.t
|
||||
|
||||
(** {2 Hashtables with Least Recently Used eviction policy *)
|
||||
(** {2 Hashtables with Least Recently Used eviction policy} *)
|
||||
|
||||
module LRU(X : HASH) : S with type key = X.t
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ type 'a t = ('a, unit) PHashtbl.t
|
|||
|
||||
val empty : ?max_load:float -> ?eq:('a -> 'a -> bool) ->
|
||||
?hash:('a -> int) -> int -> 'a t
|
||||
(** See {@see PHashtbl.create} *)
|
||||
(** See {!PHashtbl.create} *)
|
||||
|
||||
val copy : 'a t -> 'a t
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ and ('a, 'b) bucket =
|
|||
val create : ?max_load:float -> ?eq:('a -> 'a -> bool) ->
|
||||
?hash:('a -> int) -> int -> ('a, 'b) t
|
||||
(** Create a hashtable. [max_load] is (number of items / size of table),
|
||||
and must be in ]0, 1[. Functions for equality check and hashing
|
||||
and must be in )0, 1(. Functions for equality check and hashing
|
||||
can also be provided. *)
|
||||
|
||||
module type Hashable = sig
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue