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 * 'a) list | `Bool of 'b | `Float of 'c | `Int of 'd | `Null | `String of 'e | `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 * 'a) list | `Bool | `Float | `Ignore | `Int | `List of 'a | `Null | `String | `Tuple of 'a list ]) as 'a -> string
exception Failed of json_ellipsis
val value_of_typed_json : ty:Type.t -> [< `Assoc of (string * 'a) list | `Bool of bool | `Float of float | `Int of int | `Null | `String of string | `Tuple of 'a 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 * 'a) 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.