module Computation: sig
.. end
Internal state builders.
Provide ways to implement signature Project.Computation.OUTPUT
without
directly apply functor Project.Computation.Register
.
Depending on the builder, also provide some additional useful
information.
Consult the Plugin Development Guide for additional details.
Useful operations
val apply_once : string ->
Project.Computation.t list ->
(unit -> unit) -> (unit -> unit) * Project.Computation.t
apply_once name dep f
returns a closure applying f
only once and the
state internally used. name
and dep
are respectively the name and
the dependencies of the local state created by this function. Should
be used partially applied. If f
raises an exception, then it is
considered as not applied.
Builders
References
module type REF_INPUT = sig
.. end
Signature of the stored data.
module type REF_OUTPUT = sig
.. end
Output signature of Ref
.
module Ref:
module type OPTION_REF_OUTPUT = sig
.. end
Output signature of OptionRef
.
module OptionRef:
Hashtables
module type HASHTBL = sig
.. end
module type HASHTBL_OUTPUT = sig
.. end
Output signature of builders of hashtables.
module Make_Hashtbl:
module Hashtbl:
References on a set
module type SET = sig
.. end
module type SET_REF_OUTPUT = sig
.. end
Output signature of builders of references on a set.
module Make_SetRef:
module SetRef:
Queue
module type QUEUE = sig
.. end
module Queue:
Project itself
module Project: