Liquidsoap_lang_values.HooksCapabilities the language needs but cannot implement, filled in by the streaming core. See the comment at the top of hooks.ml.
type log =
< f : 'a. int -> ('a, unit, string, unit) Stdlib.format4 -> 'a
; critical : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a
; severe : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a
; important : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a
; info : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a
; debug : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a >What the language leaves to whoever links it: one implementation each, and a stand-in where there is none.
val get : 'a t -> 'aval implement : 'a t -> 'a -> unitRaises Failure if the hook already has an implementation.
val fallback : 'a t -> 'a -> unitval log : string list -> logval liq_libs_dir : (unit -> string) tval eval_check :
(env:(string * Value.t) list ->
tm:Liquidsoap_lang_ast.Term.t ->
Value.t ->
unit)
tand encoder = string * encoder_paramsval make_encoder :
(pos:Liquidsoap_lang_prelude.Pos.Option.t -> encoder -> Value.t) tval type_of_encoder :
(pos:Liquidsoap_lang_prelude.Pos.Option.t ->
Liquidsoap_lang_ast.Term.encoder ->
Liquidsoap_lang_types.Type.t)
tval mk_source_ty :
(?pos:Liquidsoap_lang_ast.Term.parsed_pos ->
string ->
Liquidsoap_lang_ast.Parsed_term.source_annotation ->
Liquidsoap_lang_types.Type.t)
tval mk_clock_ty :
(?pos:Liquidsoap_lang_ast.Term.parsed_pos ->
unit ->
Liquidsoap_lang_types.Type.t)
tval source_methods_t : (unit -> Liquidsoap_lang_types.Type.t) t