Internal_event.Section
Sections are a simple way of classifying events at the time of their emission.
type t
val empty : t
val make_sanitized : string list -> t
Build a Section.t by replacing special characters with '_'.
Section.t
'_'
val is_prefix : prefix:t -> t -> bool
is_prefix ~prefix p checks that p starts with ~prefix.
is_prefix ~prefix p
p
~prefix
val encoding : t Data_encoding.t
val to_string_list : t -> string list
val pp : Stdlib.Format.formatter -> t -> unit
include Mavryk_stdlib.Compare.S with type t := t
val (=) : t -> t -> bool
x = y iff compare x y = 0
x = y
compare x y = 0
val (<>) : t -> t -> bool
x <> y iff compare x y <> 0
x <> y
compare x y <> 0
val (<) : t -> t -> bool
x < y iff compare x y < 0
x < y
compare x y < 0
val (<=) : t -> t -> bool
x <= y iff compare x y <= 0
x <= y
compare x y <= 0
val (>=) : t -> t -> bool
x >= y iff compare x y >= 0
x >= y
compare x y >= 0
val (>) : t -> t -> bool
x > y iff compare x y > 0
x > y
compare x y > 0
val compare : t -> t -> int
compare an alias for the functor parameter's compare function
compare
val equal : t -> t -> bool
equal x y iff compare x y = 0
equal x y
val max : t -> t -> t
max x y is x if x >= y otherwise it is y
max x y
x
y
val min : t -> t -> t
min x y is x if x <= y otherwise it is y
min x y