package trace

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

Install

Dune Dependency

Authors

Maintainers

Sources

trace-0.3.tbz
sha256=2ababaa983bbb4a264b5346316b76638d3c77e3addf3522086c6fd9e61bd6505
sha512=63900b36513e67827744d9f656f2d2d3a707b0cea2ed67b571ddd30cedcaec2bf2e1791813add50ccaf846ee90f1195d9f86d3bddbefb2c30cefe2c81b57ed61

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.