package liquidsoap-lang

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Liquidsoap_lang.ValueSource

Values are untyped normal forms of terms.

Sourcemodule Ground = Term.Ground

Ground values.

Sourcemodule Methods = Term.Methods
Sourcetype t = {
  1. pos : Pos.Option.t;
  2. value : in_value;
  3. methods : t Methods.t;
}
Sourceand env = (string * t) list
Sourceand lazy_env = (string * t Lazy.t) list
Sourceand in_value =
  1. | Ground of Ground.t
  2. | List of t list
  3. | Tuple of t list
  4. | Null
  5. | Fun of (string * string * t option) list * lazy_env * Term.t
  6. | FFI of (string * string * t option) list * env -> t
Sourceval unit : in_value
Sourceval string_of_float : float -> string
Sourceval to_string : t -> string
Sourceval invoke : t -> string -> t

Find a method in a value.

Sourceval invokes : t -> string list -> t

Perform a sequence of invokes: invokes x l1;l2;l3;... is x.l1.l2.l3...

Sourceval demeth : t -> t
Sourceval remeth : t -> t -> t
Sourceval split_meths : t -> (string * t) list * t
Sourceval compare : t -> t -> int
Sourcemodule type Abstract = sig ... end
Sourcemodule type AbstractDef = Term.AbstractDef
Sourcemodule MkAbstract (Def : AbstractDef) : sig ... end
Sourcemodule RuntimeType : sig ... end
OCaml

Innovation. Community. Security.