package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t = ('a, 'b) Hashtbl.t
val create : int -> ('a, 'b) t
val length : ('a, 'b) t -> int
val is_empty : ('a, 'b) t -> bool
val add : ('a, 'b) t -> 'a -> 'b -> unit
val remove : ('a, 'b) t -> 'a -> unit
val remove_all : ('a, 'b) t -> 'a -> unit
val replace : ('a, 'b) t -> 'a -> 'b -> unit
val modify : 'a -> ('b -> 'b) -> ('a, 'b) t -> unit
val modify_def : 'b -> 'a -> ('b -> 'b) -> ('a, 'b) t -> unit
val modify_opt : 'a -> ('b option -> 'b option) -> ('a, 'b) t -> unit
val copy : ('a, 'b) t -> ('a, 'b) t
val clear : ('a, 'b) t -> unit
val keys : ('a, 'b) t -> 'a BatEnum.t
val values : ('a, 'b) t -> 'b BatEnum.t
val enum : ('a, 'b) t -> ('a * 'b) BatEnum.t
val of_enum : ('a * 'b) BatEnum.t -> ('a, 'b) t
val find : ('a, 'b) t -> 'a -> 'b
val find_all : ('a, 'b) t -> 'a -> 'b list
val find_default : ('a, 'b) t -> 'a -> 'b -> 'b
val find_option : ('a, 'b) Hashtbl.t -> 'a -> 'b option
val mem : ('a, 'b) t -> 'a -> bool
val iter : ('a -> 'b -> unit) -> ('a, 'b) t -> unit
val fold : ('a -> 'b -> 'c -> 'c) -> ('a, 'b) t -> 'c -> 'c
val map : ('a -> 'b -> 'c) -> ('a, 'b) t -> ('a, 'c) t
val map_inplace : ('a -> 'b -> 'b) -> ('a, 'b) t -> unit
val filter : ('a -> bool) -> ('key, 'a) t -> ('key, 'a) t
val filter_inplace : ('a -> bool) -> ('key, 'a) t -> unit
val filteri : ('key -> 'a -> bool) -> ('key, 'a) t -> ('key, 'a) t
val filteri_inplace : ('key -> 'a -> bool) -> ('key, 'a) t -> unit
val filter_map : ('key -> 'a -> 'b option) -> ('key, 'a) t -> ('key, 'b) t
val filter_map_inplace : ('key -> 'a -> 'a option) -> ('key, 'a) t -> unit
val hash : 'a -> int
val hash_param : int -> int -> 'a -> int
val print : ?first:string -> ?last:string -> ?sep:string -> ?kvsep:string -> ('a BatInnerIO.output -> 'b -> unit) -> ('a BatInnerIO.output -> 'c -> unit) -> 'a BatInnerIO.output -> ('b, 'c) t -> unit
module Exceptionless : sig ... end
module Infix : sig ... end
module Labels : sig ... end
module type HashedType = sig ... end
module type S = sig ... end
module Make (H : HashedType) : sig ... end
module Cap : sig ... end
OCaml

Innovation. Community. Security.