diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-10-05 22:40:22 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-10-05 22:40:22 -0300 |
| commit | cfc641a9bb97c94e5993f895a8bcdf24214adc83 (patch) | |
| tree | c793f068df0ff588565b5819b27018b616b87109 /lib/protocols/Derived.mli | |
| parent | 32e663591a84d095723e62ef934a0bc6e1470b52 (diff) | |
| download | RNT-cfc641a9bb97c94e5993f895a8bcdf24214adc83.tar.gz RNT-cfc641a9bb97c94e5993f895a8bcdf24214adc83.zip | |
journal for the websitejournal
Diffstat (limited to '')
| -rw-r--r-- | lib/protocols/Derived.mli | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/protocols/Derived.mli b/lib/protocols/Derived.mli new file mode 100644 index 0000000..b3dce96 --- /dev/null +++ b/lib/protocols/Derived.mli @@ -0,0 +1,13 @@ +(** a relation computed from other relations. [within] gives the same + relation read against another directory of relations, so a snapshot + of the tree can hand out its derived relations as they were, or as + they would be, at that moment. *) +type t + +class type implementation = object + method within : Handle.t -> (Handle.t, Concepts.Condition.condition) result +end + +val make : #implementation -> Handle.protocol +val from : Handle.t -> t Handle.interface option +val within : t Handle.interface -> Handle.t -> (Handle.t, Concepts.Condition.condition) result |
