From 504e2d03a10f1641b36a9d5f127a18bc943562ce Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sat, 26 Sep 2026 13:22:10 -0300 Subject: ephemeral relations as outputs of FOL and program overhaul --- lib/protocols/Relation.ml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/protocols/Relation.ml') diff --git a/lib/protocols/Relation.ml b/lib/protocols/Relation.ml index c05337f..3962c9c 100644 --- a/lib/protocols/Relation.ml +++ b/lib/protocols/Relation.ml @@ -7,8 +7,6 @@ module Error = struct end class type implementation = object - method predicate : (Concepts.Hash.hash option, Concepts.Condition.condition) result - method local_constraints : (Concepts.Hash.hash option, Concepts.Condition.condition) result method contains : Concepts.Tuple.t -> (bool, Concepts.Condition.condition) result end @@ -18,6 +16,4 @@ type t = implementation let make impl = Relation (impl :> implementation) let from handle = Handle.into handle (function Relation impl -> Some impl | _ -> None) let require handle = from handle |> Option.to_result ~none:(Error.not_a_relation ()) -let predicate i = Handle.invoke i (fun o -> o#predicate) -let local_constraints i = Handle.invoke i (fun o -> o#local_constraints) let contains i tuple = Handle.invoke i (fun o -> o#contains tuple) -- cgit v1.2.3