Elpi.BuiltinSourceval ocaml_map :
name:string ->
'a API.Conversion.t ->
(module API.Utils.Map.S with type key = 'a) ->
API.BuiltIn.declaration listEasy 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 and type t = 'b) ->
API.BuiltIn.declaration listval ocaml_set_conv :
name:string ->
'a API.Conversion.t ->
(module API.Utils.Set.S with type elt = 'a and type t = 'b) ->
'b API.Conversion.t * API.BuiltIn.declaration listval unspecC :
('a, 'b, 'c) API.ContextualConversion.t ->
('a unspec, 'b, 'c) API.ContextualConversion.t