package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.0.1.tbz
sha256=af8074c67e94095b25556e1d1e2aaaf0d04c19f373e38919cb8f0a0d6786aae7
sha512=774612085cd3ff267bfd1aa35b7dd2629cde066f9d2393185e28f21d2c86a24c2e36ef1293dee1b2cba37636b6deb6dc6e688cebdb4e2aaff922e06de15dba0a

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.