From b79224410f469a1cd4ff3be4f8e62d71398109fc Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Fri, 11 Sep 2026 04:06:52 +0000 Subject: Multigroup objects --- lib/kernel/Prototype.mli | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/kernel/Prototype.mli (limited to 'lib/kernel/Prototype.mli') diff --git a/lib/kernel/Prototype.mli b/lib/kernel/Prototype.mli new file mode 100644 index 0000000..c1e93df --- /dev/null +++ b/lib/kernel/Prototype.mli @@ -0,0 +1,10 @@ +val mixture : Protocols.Handle.protocol list -> Protocols.Handle.t + +module Directory : sig + val of_properties : (string * Protocols.Handle.t) list -> Protocols.Handle.protocol + + module OfTree (S : Abstract.Storage.STORAGE) (K : Merkle.KEY with type t = string) (V : Merkle.VALUE) : sig + module Interface : module type of Merkle.Interface (S) (K) (V) + val make : storage:S.connection -> constructor:(V.t -> (Protocols.Handle.t, Concepts.Condition.condition) result) -> node:Interface.node -> Protocols.Handle.protocol + end +end -- cgit v1.2.3