package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.8.1.tar.gz
md5=d84e09c5d0abc501aa17cd502e31a038
sha512=8b832f4ada6035e80d81be0cfb7bdffb695ec67d465ed6097a144019e2b8a8f909095e78019c3da2d8181cc3cd730cd48f7519e87d3162442562103b7f36aabb

doc/containers.data/CCHet/Tbl/index.html

Module CCHet.TblSource

Imperative table indexed by Key

Sourcetype t
Sourceval create : ?size:int -> unit -> t
Sourceval mem : t -> _ Key.t -> bool
Sourceval add : t -> 'a Key.t -> 'a -> unit
Sourceval remove : t -> _ Key.t -> unit
Sourceval length : t -> int
Sourceval find : t -> 'a Key.t -> 'a option
Sourceval find_exn : t -> 'a Key.t -> 'a
  • raises Not_found

    if the key is not in the table.

Sourceval iter : (pair -> unit) -> t -> unit
Sourceval to_seq : t -> pair sequence
Sourceval of_seq : pair sequence -> t
Sourceval add_seq : t -> pair sequence -> unit
Sourceval add_list : t -> pair list -> unit
Sourceval of_list : pair list -> t
Sourceval to_list : t -> pair list
OCaml

Innovation. Community. Security.