diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-09-13 03:19:46 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-09-13 03:19:46 -0300 |
| commit | 9b9eab0bb54ed951c56eb6551d9ee470dc5b43aa (patch) | |
| tree | eb5bef6ac815aa4fdc95c52838626ab1826c4fb0 /lib/protocols/Relation.ml | |
| parent | 327d0d2a47591e02299d4e7360d5b7e03b4962d2 (diff) | |
| download | RNT-9b9eab0bb54ed951c56eb6551d9ee470dc5b43aa.tar.gz RNT-9b9eab0bb54ed951c56eb6551d9ee470dc5b43aa.zip | |
appropriate enumeration for tuple split on object and resident
Diffstat (limited to 'lib/protocols/Relation.ml')
| -rw-r--r-- | lib/protocols/Relation.ml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/protocols/Relation.ml b/lib/protocols/Relation.ml index 54454cf..c05337f 100644 --- a/lib/protocols/Relation.ml +++ b/lib/protocols/Relation.ml @@ -7,7 +7,6 @@ module Error = struct end class type implementation = object - method heading : (Concepts.Hash.hash, Concepts.Condition.condition) result 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 @@ -19,7 +18,6 @@ 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 heading i = Handle.invoke i (fun o -> o#heading) 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) |
