aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Representation.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/concepts/Representation.mli')
-rw-r--r--lib/concepts/Representation.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/concepts/Representation.mli b/lib/concepts/Representation.mli
new file mode 100644
index 0000000..9d0a8f5
--- /dev/null
+++ b/lib/concepts/Representation.mli
@@ -0,0 +1,7 @@
+(** an abstract representation of an encoded value *)
+type blob
+
+(** encode a blob into a value *)
+val blob_of_value: Value.value -> blob
+(** decode a value from a blob *)
+val value_of_blob: blob -> Value.value