aboutsummaryrefslogtreecommitdiff
path: root/std/hashes.pk
diff options
context:
space:
mode:
Diffstat (limited to 'std/hashes.pk')
-rw-r--r--std/hashes.pk4
1 files changed, 4 insertions, 0 deletions
diff --git a/std/hashes.pk b/std/hashes.pk
new file mode 100644
index 0000000..911c9d2
--- /dev/null
+++ b/std/hashes.pk
@@ -0,0 +1,4 @@
+## std.hashes: Hash functions on types.
+
+pub type Hash[H] = interface
+ hash[H](Self): H