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.tar.gz
md5=03b80e963186e91ddac62ef645bf7fb2
sha512=c8f434808be540c16926bf03d89f394d33fc2d092f963a7b6d412481229e0a96290f1ad7c7d522415115d35426b7aa0b3fda4b991ddc321dad279d402c9a0c0b

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

Module CCHet.MapSource

Immutable map

Sourcetype t
Sourceval empty : t
Sourceval mem : _ Key.t -> t -> bool
Sourceval add : 'a Key.t -> 'a -> t -> t
Sourceval remove : _ Key.t -> t -> t
Sourceval length : t -> int
Sourceval cardinal : t -> int
Sourceval find : 'a Key.t -> t -> 'a option
Sourceval find_exn : 'a Key.t -> 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 -> t
Sourceval add_list : t -> pair list -> t
Sourceval of_list : pair list -> t
Sourceval to_list : t -> pair list
OCaml

Innovation. Community. Security.

On This Page
  1. Immutable map