package elpi

  1. Overview
  2. Docs
exception No_clause
type name = string
type doc = string
type 'a oarg =
  1. | Keep
  2. | Discard
type 'a ioarg =
  1. | Data of 'a
  2. | NoData
type ('function_type, 'inernal_outtype_in) ffi =
  1. | In : 't Conversion.t * doc * ('i, 'o) ffi -> ('t -> 'i, 'o) ffi
  2. | Out : 't Conversion.t * doc * ('i, 'o * 't option) ffi -> ('t oarg -> 'i, 'o) ffi
  3. | InOut : 't Conversion.t * doc * ('i, 'o * 't option) ffi -> ('t ioarg -> 'i, 'o) ffi
  4. | Easy : doc -> (depth:int -> 'o, 'o) ffi
  5. | Read : doc -> (depth:int -> Data.hyps -> Data.constraints -> Data.state -> 'o, 'o) ffi
  6. | Full : doc -> (depth:int -> Data.hyps -> Data.constraints -> Data.state -> Data.state * 'o, 'o) ffi
  7. | VariadicIn : 't Conversion.t * doc -> ('t list -> depth:int -> Data.hyps -> Data.constraints -> Data.state -> Data.state * 'o, 'o) ffi
  8. | VariadicOut : 't Conversion.t * doc -> ('t oarg list -> depth:int -> Data.hyps -> Data.constraints -> Data.state -> Data.state * ('o * 't option list option), 'o) ffi
  9. | VariadicInOut : 't Conversion.t * doc -> ('t ioarg list -> depth:int -> Data.hyps -> Data.constraints -> Data.state -> Data.state * ('o * 't option list option), 'o) ffi
type t =
  1. | Pred : name * ('a, unit) ffi * 'a -> t
module Notation : sig ... end
OCaml

Innovation. Community. Security.