package trace

  1. Overview
  2. Docs
A stub for tracing/observability, agnostic in how data is collected

Install

dune-project
 Dependency

Authors

Maintainers

Sources

trace-0.5.tbz
sha256=97436f58f181775591f9be745971187e9b6e0948dd6bc32567fa396278113488
sha512=4d47458ec2b014be292498e3e99ca5f7de00e3958dab01cb758254b16c7ce23e1eabd809c5063c5b4f7aeda63ffa38473b008227807a206b018068e63b4526e9

doc/trace.core/Trace_core/Meta_map/index.html

Module Trace_core.Meta_mapSource

Associative containers with Heterogeneous Values

Sourcemodule Key : sig ... end

Keys with a type witness.

Sourcetype pair =
  1. | Pair : 'a Key.t * 'a -> pair
Sourcetype t

Immutable map from Key.t to values

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 add_list : t -> pair list -> t
Sourceval of_list : pair list -> t
Sourceval to_list : t -> pair list
OCaml

Innovation. Community. Security.