package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.0.1.tbz
sha256=af8074c67e94095b25556e1d1e2aaaf0d04c19f373e38919cb8f0a0d6786aae7
sha512=774612085cd3ff267bfd1aa35b7dd2629cde066f9d2393185e28f21d2c86a24c2e36ef1293dee1b2cba37636b6deb6dc6e688cebdb4e2aaff922e06de15dba0a

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
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 : Format.formatter -> unit -> unit;
  3. pp : Format.formatter -> 'a -> unit;
  4. embed : ('a, 'hyps, 'constraints) embedding;
  5. readback : ('a, 'hyps, 'constraints) readback;
}
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.