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

Module Data.StateSource

Sourcetype descriptor
Sourceval new_descriptor : unit -> descriptor
Sourceval merge_descriptors : descriptor -> descriptor -> descriptor
Sourcetype 'a component
Sourceval declare : descriptor:descriptor -> name:string -> pp:(Stdlib.Format.formatter -> 'a -> unit) -> init:(unit -> 'a) -> clause_compilation_is_over:('a -> 'a) -> ?goal_compilation_begins:('a -> 'a) -> compilation_is_over:('a -> 'a option) -> execution_is_over:('a -> 'a option) -> unit -> 'a component
Sourcetype t
Sourceval init : descriptor -> t
Sourceval end_clause_compilation : t -> t
Sourceval begin_goal_compilation : t -> t
Sourceval end_compilation : t -> t
Sourceval end_execution : t -> t
Sourceval get : 'a component -> t -> 'a
Sourceval set : 'a component -> t -> 'a -> t
Sourceval drop : 'a component -> t -> t
Sourceval update : 'a component -> t -> ('a -> 'a) -> t
Sourceval update_return : 'a component -> t -> ('a -> 'a * 'b) -> t * 'b
Sourceval pp : Stdlib.Format.formatter -> t -> unit
Sourceval dummy : t
OCaml

Innovation. Community. Security.