package elpi

Build not yet checked
  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-4.1.1.tbz
sha256=07cdb4d333e627e57644ee45e43edfaa4a201d21efafd8922e8e5e0d4649fb68
sha512=f2ca177be3eb449c79b184f84bbde4f4a29ffa8ccda727db9411ad700120515cee3ee7374be2ec42815b6f76993c1843615a2e6becb64621483ddb7b4c4da33c

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
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 : Format.formatter -> unit -> unit;
  3. constants : Elpi_util.Util.constant list;
  4. pp : Format.formatter -> 'a -> unit;
  5. embed : 'a embedding;
  6. readback : 'a readback;
}
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:??? -> ty_ast -> string
Sourceval term_of_extra_goal : extra_goal -> term