aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Hash.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/concepts/Hash.ml5
-rw-r--r--lib/concepts/Hash.mli8
2 files changed, 13 insertions, 0 deletions
diff --git a/lib/concepts/Hash.ml b/lib/concepts/Hash.ml
new file mode 100644
index 0000000..4c6cd8a
--- /dev/null
+++ b/lib/concepts/Hash.ml
@@ -0,0 +1,5 @@
+type hash = ()
+
+val hash_of_value (_: Value.value) = failwith "TODO"
+
+val hash_equals (_: hash) (_: hash) = failwith "TODO"
diff --git a/lib/concepts/Hash.mli b/lib/concepts/Hash.mli
new file mode 100644
index 0000000..dc25669
--- /dev/null
+++ b/lib/concepts/Hash.mli
@@ -0,0 +1,8 @@
+(** An abstract value representing a hash *)
+type hash
+
+(** Given a value, compute it's hash *)
+val hash_of_value: Value.value -> hash
+
+(** Given two hashes, are they the same? *)
+val hash_equals: hash -> hash -> bool