Something went wrong. Try again.
Shells in OCaml
Something went wrong. Try again.
123456789101112131415161718type t(** A lookup table for utilities *)
val empty : t(** The empty table *)
val add : utility:string -> loc:string -> t -> t(** [add ~utility ~loc t] adds the [utility] with [loc] location. *)
val lookup : utility:string -> t -> string option(** [lookup ~utility t] will try to find [utility] in [t]. *)
val pp : t Fmt.t(** A pretty printer *)
val jsont : t Jsont.t(** Jsont codec. *)