package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.1.0.tbz
sha256=beea3f0c443c4e575a47fce4b2cc7df9c033cb579fb7e56c0963f0655bfe6942
sha512=7cbeeec1a051612ee30800d3d950c2e124194d79d47ff304f5096b7856eca389140b2fa4907da23040386f1c1b4eb3347ce60672c42a29b1820b65c6c1725c33

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.