diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-09-13 01:50:35 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-09-13 01:50:35 -0300 |
| commit | 28ddfe4cd64a228bedf4c9068f443643e8496f7e (patch) | |
| tree | 4d766fa4c83c94376188ed54ef8e1a150e3561af /lib/protocols/Evaluator.ml | |
| parent | dfedcd91fa4e948600fb4b2edb3516f70376c3a9 (diff) | |
| download | RNT-28ddfe4cd64a228bedf4c9068f443643e8496f7e.tar.gz RNT-28ddfe4cd64a228bedf4c9068f443643e8496f7e.zip | |
rework on tuple non resident object with schematics as protocol
Diffstat (limited to 'lib/protocols/Evaluator.ml')
| -rw-r--r-- | lib/protocols/Evaluator.ml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/protocols/Evaluator.ml b/lib/protocols/Evaluator.ml deleted file mode 100644 index 95c2ef8..0000000 --- a/lib/protocols/Evaluator.ml +++ /dev/null @@ -1,12 +0,0 @@ -class type implementation = object - method capabilities : string BatSet.t - method admit : string -> (Handle.t, Concepts.Condition.condition) result -end - -type Handle.protocol += Evaluator of implementation -type t = implementation - -let make impl = Evaluator (impl :> implementation) -let from handle = Handle.into handle (function Evaluator impl -> Some impl | _ -> None) -let capabilities i = Handle.invoke i (fun o -> o#capabilities) -let admit i source = Handle.invoke i (fun o -> o#admit source) |
