package liquidsoap-lang

  1. Overview
  2. Docs
val log : Hooks.log
val json_of_value : ?pos:Pos.t list -> Value.t -> Json.t
val type_of_json : [< `Assoc of (string * 'b) list | `Bool of 'c | `Float of 'd | `Int of 'e | `Null | `String of 'f | `Tuple of 'a list ] as 'a -> Lang.t
val nullable_deref : Type.t -> bool * Type.t
type json_ellipsis_base = [
  1. | `Assoc of (string * string option * json_ellipsis) list
  2. | `List of json_ellipsis
  3. | `Tuple of json_ellipsis list
  4. | `String
  5. | `Bool
  6. | `Float
  7. | `Int
  8. | `Null
  9. | `Ignore
]
and json_ellipsis = bool * json_ellipsis_base
val string_of_json_ellipsis : (bool * [< `Assoc of (string * string option * (bool * 'b)) list | `Bool | `Float | `Ignore | `Int | `List of bool * 'b | `Null | `String | `Tuple of 'a list ] as 'b) as 'a -> string
exception Failed of json_ellipsis
val value_of_typed_json : ty:Type.t -> [< `Assoc of (string * 'b) list | `Bool of bool | `Float of float | `Int of int | `Null | `String of string | `Tuple of 'b list Assoc Bool Float Int String Tuple ] as 'a -> Lang.value
module JsonSpecs : sig ... end
module JsonValue : sig ... end
val json : Lang.module_name
exception DeprecatedFailed
val deprecated_of_json : Value.t -> [> `Assoc of (string * 'b) list | `Bool of bool | `Float of float | `Int of int | `Null | `String of string | `Tuple of 'a list ] as 'a -> Lang.value
OCaml

Innovation. Community. Security.