package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

Dune Dependency

Authors

Maintainers

Sources

dune-2.5.1.tbz
sha256=8f77d3a87f208e0d7cccaa1c48c4bb1bb87d62d07c3f25e9b8ba298e028ce52b
sha512=f209f12ced10c1abf8782bdb0143f4cec77795f7174d2cc75130afb1e01550b01f2f77b9e3ec4888efdad83d2f9878d179b39126f824f4e522f3ef4da34bf27e

doc/dune-private-libs.stdune/Stdune/Path/Build/Table/index.html

Module Build.Table

type 'a t
type key = t
val create : int -> 'a t
val clear : 'a t -> unit
val mem : 'a t -> key -> bool
val remove : 'a t -> key -> unit
val to_seq_values : 'a t -> 'a Seq.t
val iter : 'a t -> f:('a -> unit) -> unit
val set : 'a t -> key -> 'a -> unit
val add_exn : 'a t -> key -> 'a -> unit
val add : 'a t -> key -> 'a -> (unit, 'a) Result.t
val find : 'a t -> key -> 'a option
val find_exn : 'a t -> key -> 'a
val find_or_add : 'a t -> key -> f:(key -> 'a) -> 'a
val fold : 'a t -> init:'b -> f:('a -> 'b -> 'b) -> 'b
val foldi : 'a t -> init:'b -> f:(key -> 'a -> 'b -> 'b) -> 'b
val of_list_exn : (key * 'a) list -> 'a t
val keys : _ t -> key list
val to_dyn : ('v -> Dyn.t) -> 'v t -> Dyn.t
val filteri_inplace : 'a t -> f:(key:key -> data:'a -> bool) -> unit
OCaml

Innovation. Community. Security.