aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/SubstantialRelation.mli
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-09-20 02:23:34 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-09-20 02:23:34 -0300
commit2c7ff1f0f7d9c71a8f866bfc9e75c1ad6a5feaa3 (patch)
tree2468a8023defc53f57025be576000ed0bd316ab3 /lib/kernel/SubstantialRelation.mli
parent5299669a6de4cffbe7b7a897f582b21a4a0a7785 (diff)
downloadRNT-2c7ff1f0f7d9c71a8f866bfc9e75c1ad6a5feaa3.tar.gz
RNT-2c7ff1f0f7d9c71a8f866bfc9e75c1ad6a5feaa3.zip
generate and mode functionality for substantial relation
Diffstat (limited to '')
-rw-r--r--lib/kernel/SubstantialRelation.mli16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kernel/SubstantialRelation.mli b/lib/kernel/SubstantialRelation.mli
index 5061e5d..73a06c7 100644
--- a/lib/kernel/SubstantialRelation.mli
+++ b/lib/kernel/SubstantialRelation.mli
@@ -47,18 +47,18 @@ module Make (S : Abstract.Storage.STORAGE) : sig
val contains_tuple :
S.transaction -> t -> Concepts.Tuple.t -> (bool, Concepts.Condition.condition) result
- (** decodes the schematics at [schematics relation] -- the body of
- [Protocols.Schematics.describe] for this kind of relation. *)
val schema_of :
S.transaction ->
t ->
(Protocols.Schematics.relation_description, Concepts.Condition.condition) result
- (** a handle carrying [Protocols.Cursor] over every tuple currently
- asserted, decoded via [Concepts.Tuple.Representation.of_blob] --
- the body of [Protocols.Relation.enumerate] for this kind of
- relation. Opens its own storage transaction, held for the
- cursor's whole lifetime rather than just this call -- see
- [Kernel.Generator] and docs/design/evaluator.md, "Shape". *)
val enumerate : S.connection -> t -> (Protocols.Handle.t, Concepts.Condition.condition) result
+
+ val generate :
+ S.connection ->
+ t ->
+ Protocols.Generative.binding ->
+ (Protocols.Handle.t, Concepts.Condition.condition) result
+
+ val modes : S.transaction -> t -> (Concepts.Mode.t, Concepts.Condition.condition) result
end