package current

  1. Overview
  2. Docs
val metadata : 'a t -> Metadata.t option t

metadata t is the metadata of t, if any. Raises an exception if t is not a primitive (or a map of one).

val pp : _ t Fmt.t

pp formats a t as a simple string.

val pp_dot : env:(string * string) list -> url:(Metadata.t S.link -> string option) -> _ t Fmt.t

pp_dot ~env ~url formats a t as a graphviz dot graph.

  • parameter env

    A list of key-value pairs from the URL to control rendering.

  • parameter url

    Generates URLs for links.

val stats : _ t -> S.stats

stats t count how many stages are in each state.

OCaml

Innovation. Community. Security.