package elpi

  1. Overview
  2. Docs
val core_builtins : API.BuiltIn.declaration list
val io_builtins : API.BuiltIn.declaration list
val lp_builtins : API.BuiltIn.declaration list
val elpi_builtins : API.BuiltIn.declaration list
val elpi_nonlogical_builtins : API.BuiltIn.declaration list
val elpi_stdlib : API.BuiltIn.declaration list
val elpi_map : API.BuiltIn.declaration list
val elpi_set : API.BuiltIn.declaration list
val ocaml_map : name:string -> 'a API.Conversion.t -> (module API.Utils.Map.S with type key = 'a) -> API.BuiltIn.declaration list

Easy export of OCaml's Map/Set modules, use as follows: module StrMap = API.Utils.Map.Make(String) ocaml_map ~name:"strmap" BuiltInData.string (module StrMap)

val ocaml_set : name:string -> 'a API.Conversion.t -> (module API.Utils.Set.S with type elt = 'a) -> API.BuiltIn.declaration list
val std_declarations : API.BuiltIn.declaration list
val std_builtins : API.Setup.builtins
val pair : 'a API.Conversion.t -> 'b API.Conversion.t -> ('a * 'b) API.Conversion.t
val option : 'a API.Conversion.t -> 'a option API.Conversion.t
val bool : bool API.Conversion.t
val in_stream : (in_channel * string) API.Conversion.t
val out_stream : (out_channel * string) API.Conversion.t
OCaml

Innovation. Community. Security.