package elpi

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.