package liquidsoap-lang

  1. Overview
  2. Docs
val eval : ?env:(string * Value.t) list -> Term.t -> Value.t

Evaluate a term in a given environment.

val eval_toplevel : ?interactive:bool -> Term.t -> Value.t

Evaluate a toplevel term.

val apply : ?pos:Pos.t -> Value.t -> (string * Value.t) list -> Value.t

Apply a function to arguments.

OCaml

Innovation. Community. Security.