package elpi

  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-3.0.0.tbz
sha256=424e5a4631f5935a1436093b614917210b00259d16700912488ba4cd148115d1
sha512=fa54ce05101fafe905c6db2e5fa7ad79d714ec3b580add4ff711bad37fc9545a58795f69056d62f6c18d8c87d424acc1992ab7fb667652e980d182d4ed80ba16

doc/elpi.runtime/Elpi_runtime/Data/ContextualConversion/index.html

Module Data.ContextualConversionSource

Sourcetype ty_ast = Conversion.ty_ast =
  1. | TyName of string
  2. | TyApp of string * ty_ast * ty_ast list
Sourceval pp_ty_ast : Ppx_deriving_runtime.Format.formatter -> ty_ast -> Ppx_deriving_runtime.unit
Sourcetype ('a, 'hyps, 'constraints) embedding = depth:int -> 'hyps -> 'constraints -> State.t -> 'a -> State.t * term * Conversion.extra_goals
Sourcetype ('a, 'hyps, 'constraints) readback = depth:int -> 'hyps -> 'constraints -> State.t -> term -> State.t * 'a * Conversion.extra_goals
Sourcetype ('a, 'hyps, 'constraints) t = {
  1. ty : ty_ast;
  2. pp_doc : Stdlib.Format.formatter -> unit -> unit;
  3. pp : Stdlib.Format.formatter -> 'a -> unit;
  4. embed : ('a, 'hyps, 'constraints) embedding;
  5. readback : ('a, 'hyps, 'constraints) readback;
}
Sourceval pp : 'a 'hyps 'constraints. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'hyps -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'constraints -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> ('a, 'hyps, 'constraints) t -> Ppx_deriving_runtime.unit
Sourceval show : 'a 'hyps 'constraints. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'hyps -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'constraints -> Ppx_deriving_runtime.unit) -> ('a, 'hyps, 'constraints) t -> Ppx_deriving_runtime.string
Sourcetype ('hyps, 'constraints) ctx_readback = depth:int -> hyps -> constraints -> State.t -> State.t * 'hyps * 'constraints * Conversion.extra_goals
Sourceval unit_ctx : (unit, unit) ctx_readback
Sourceval (!<) : ('a, unit, unit) t -> 'a Conversion.t
Sourceval (!>) : 'a Conversion.t -> ('a, 'b, 'c) t
Sourceval (!<<) : (('a, 'b, 'c) t -> ('d, unit, unit) t) -> 'a Conversion.t -> 'd Conversion.t
Sourceval (!>>) : ('a Conversion.t -> 'b Conversion.t) -> ('a, 'c, 'd) t -> ('b, 'c, 'd) t
Sourceval (!>>>) : ('a Conversion.t -> 'b Conversion.t -> 'c Conversion.t) -> ('a, 'd, 'e) t -> ('b, 'd, 'e) t -> ('c, 'd, 'e) t
OCaml

Innovation. Community. Security.