summaryrefslogtreecommitdiff
path: root/lib/std/hashfuncs.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/hashfuncs.myr')
-rw-r--r--lib/std/hashfuncs.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/hashfuncs.myr b/lib/std/hashfuncs.myr
index 5ad1180..a7d61c4 100644
--- a/lib/std/hashfuncs.myr
+++ b/lib/std/hashfuncs.myr
@@ -23,13 +23,13 @@ pkg std =
}
;;
- impl equatable @a::(integral,numeric) =
+ impl equatable @a :: integral,numeric @a =
eq = {a, b
-> a == b
}
;;
- impl hashable @a::(integral,numeric) =
+ impl hashable @a :: integral,numeric @a =
hash = {a
-> siphash24((&a : byte#)[:sizeof(@a)], Seed)
}