package liquidsoap-lang

  1. Overview
  2. Docs
type t = ..
type content = {
  1. descr : t -> string;
  2. to_json : pos:Pos.t list -> t -> Json.t;
  3. compare : t -> t -> int;
  4. typ : (module Liquidsoap_lang.Type.Ground.Custom);
}
val handlers : (Type_base.custom, content * (t -> bool)) Hashtbl.t
val register : (t -> bool) -> content -> unit
exception Found of content
val find : t -> content
val to_string : t -> string
val to_json : t -> pos:Pos.t list -> Json.t
val to_descr : t -> Type_base.descr
val to_type : t -> Type_base.custom
val compare : t -> t -> int
type t +=
  1. | Bool of bool
  2. | Int of int
  3. | String of string
  4. | Float of float
OCaml

Innovation. Community. Security.