diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-09-11 04:06:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-11 01:06:52 -0300 |
| commit | b79224410f469a1cd4ff3be4f8e62d71398109fc (patch) | |
| tree | e025feebbdf9703ce790b4a97cb9997242c9bb4b /lib/kernel/Prototype.mli | |
| parent | efe8032f7e224c29fc67a4f8cfd52db908442eec (diff) | |
| download | RNT-b79224410f469a1cd4ff3be4f8e62d71398109fc.tar.gz RNT-b79224410f469a1cd4ff3be4f8e62d71398109fc.zip | |
Multigroup objects
Diffstat (limited to 'lib/kernel/Prototype.mli')
| -rw-r--r-- | lib/kernel/Prototype.mli | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
