aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Derived.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/protocols/Derived.ml')
-rw-r--r--lib/protocols/Derived.ml10
1 files changed, 0 insertions, 10 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)