package liquidsoap-lang

  1. Overview
  2. Docs

Builtins

val has_builtin : string -> bool

Whether a given builtin was declared.

val get_builtin : string -> (Type.scheme * Value.t) option

Retrieve a builtin definition.

val add_builtin : ?override:bool -> ?register:bool -> ?doc:Doc.Value.t Stdlib.Lazy.t -> string list -> (Type.scheme * Value.t) -> unit

Add a builtin value.

val add_module : string list -> unit

Declare a module.

Environments

val default_typing_environment : unit -> (string * Type.scheme) list

Initial typing environment (with builtins).

val default_environment : unit -> (string * Value.t) list

Initial environment (with builtins).

OCaml

Innovation. Community. Security.