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/Conversion/index.html

Module Data.ConversionSource

Sourcetype extra_goal = ..
Sourcetype extra_goal +=
  1. | Unify of term * term
  2. | RawGoal of term
Sourcetype extra_goals = extra_goal list
Sourcetype extra_goals_postprocessing = extra_goals -> State.t -> State.t * extra_goals
Sourceval extra_goals_postprocessing : extra_goals_postprocessing State.component
Sourcetype 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 embedding = depth:int -> State.t -> 'a -> State.t * term * extra_goals
Sourcetype 'a readback = depth:int -> State.t -> term -> State.t * 'a * extra_goals
Sourcetype 'a t = {
  1. ty : ty_ast;
  2. pp_doc : Stdlib.Format.formatter -> unit -> unit;
  3. pp : Stdlib.Format.formatter -> 'a -> unit;
  4. embed : 'a embedding;
  5. readback : 'a readback;
}
Sourceval pp : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'a t -> Ppx_deriving_runtime.unit
Sourceval show : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> 'a t -> Ppx_deriving_runtime.string
Sourceexception TypeErr of ty_ast * int * term
Sourcetype prec_level =
  1. | Arrow
  2. | AppArg
Sourceval need_par : prec_level option -> prec_level -> bool
Sourceval with_par : prec_level option -> prec_level -> string -> string
Sourceval show_ty_ast : ?prec:prec_level -> ty_ast -> string
Sourceval term_of_extra_goal : extra_goal -> term
OCaml

Innovation. Community. Security.