aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Derived.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-10-07 18:25:43 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-10-07 18:25:43 -0300
commit932e657e38665afa1da1aab549977841abbd9dcf (patch)
treeb2c0b3d30b7aaab7347300b3932a9f03e4f64f9a /lib/protocols/Derived.ml
parentcfc641a9bb97c94e5993f895a8bcdf24214adc83 (diff)
downloadRNT-932e657e38665afa1da1aab549977841abbd9dcf.tar.gz
RNT-932e657e38665afa1da1aab549977841abbd9dcf.zip
drop journal in favor of local branch history
Diffstat (limited to '')
-rw-r--r--lib/protocols/Derived.ml10
-rw-r--r--lib/protocols/Derived.mli13
2 files changed, 0 insertions, 23 deletions
diff --git a/lib/protocols/Derived.ml b/lib/protocols/Derived.ml
deleted file mode 100644
index 1968ffc..0000000
--- a/lib/protocols/Derived.ml
+++ /dev/null
@@ -1,10 +0,0 @@
-class type implementation = object
- method within : Handle.t -> (Handle.t, Concepts.Condition.condition) result
-end
-
-type Handle.protocol += Derived of implementation
-type t = implementation
-
-let make impl = Derived (impl :> implementation)
-let from handle = Handle.into handle (function Derived impl -> Some impl | _ -> None)
-let within i directory = Handle.invoke i (fun o -> o#within directory)
diff --git a/lib/protocols/Derived.mli b/lib/protocols/Derived.mli
deleted file mode 100644
index b3dce96..0000000
--- a/lib/protocols/Derived.mli
+++ /dev/null
@@ -1,13 +0,0 @@
-(** 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