aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Relation.mli
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/concepts/Relation.mli15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/concepts/Relation.mli b/lib/concepts/Relation.mli
new file mode 100644
index 0000000..5319a3d
--- /dev/null
+++ b/lib/concepts/Relation.mli
@@ -0,0 +1,15 @@
+type t
+type address = Hash.hash
+type schema
+
+include Object.S with type t := t
+
+val make : name:string -> tuples:address -> schema:schema -> t
+
+val name : t -> string
+val tuples : t -> address
+val schema : t -> schema
+
+val schema_empty : schema
+val schema_of_list : (string * string) list -> schema
+val schema_to_list : schema -> (string * string) list