sig
module MemoryFootprint :
sig
val self : State.t
val name : string
val mark_as_computed : ?project:Project.t -> unit -> unit
val is_computed : ?project:Project.t -> unit -> bool
module Datatype : Datatype.S
val add_hook_on_update : (Datatype.t -> unit) -> unit
val howto_marshal : (Datatype.t -> 'a) -> ('a -> Datatype.t) -> unit
type data = int
val set : data -> unit
val get : unit -> data
val clear : unit -> unit
end
module type Cacheable =
sig
type t
val hash : Binary_cache.Cacheable.t -> int
val sentinel : Binary_cache.Cacheable.t
val equal :
Binary_cache.Cacheable.t -> Binary_cache.Cacheable.t -> bool
end
module type Result = sig type t val sentinel : Binary_cache.Result.t end
module Make_Symetric :
functor (H : Cacheable) ->
functor (R : Result) ->
sig
val clear : unit -> unit
val merge : (H.t -> H.t -> R.t) -> H.t -> H.t -> R.t
end
module Make_Asymetric :
functor (H : Cacheable) ->
functor (R : Result) ->
sig
val clear : unit -> unit
val merge : (H.t -> H.t -> R.t) -> H.t -> H.t -> R.t
end
module Make_Binary :
functor (H0 : Cacheable) ->
functor (H1 : Cacheable) ->
sig
val clear : unit -> unit
val merge : (H0.t -> H1.t -> bool) -> H0.t -> H1.t -> bool
end
module Make_Symetric_Binary :
functor (H0 : Cacheable) ->
sig
val clear : unit -> unit
val merge : (H0.t -> H0.t -> bool) -> H0.t -> H0.t -> bool
end
module Make_Het1_1_4 :
functor (H0 : Cacheable) ->
functor (H1 : Cacheable) ->
functor (H2 : Cacheable) ->
functor (R : Result) ->
sig
val clear : unit -> unit
val merge :
(unit -> R.t) ->
H0.t -> H1.t -> H2.t -> H2.t -> H2.t -> H2.t -> R.t
end
end