package elpi

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

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-2.0.7.tbz
sha256=80233ebd92babd696148ed553238961ec7b6de6bf157045aae1c7090840aeded
sha512=00c9ec01fabde9db1de4a58cb37480035e6f926d83b8360553419bcb99e9199f0720dde975f97ac9942ce528884d3d59d025cfbd471f12d57547429f15684d49

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:(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 : Format.formatter -> t -> unit
Sourceval dummy : t
OCaml

Innovation. Community. Security.