summaryrefslogtreecommitdiff
path: root/lib/std/traits.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/traits.myr')
-rw-r--r--lib/std/traits.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/traits.myr b/lib/std/traits.myr
index 1c5678b..3c69fed 100644
--- a/lib/std/traits.myr
+++ b/lib/std/traits.myr
@@ -1,6 +1,6 @@
pkg std =
- trait comparable @a =
- cmp : (a : @a, b : @a -> bool)
+ trait equatable @a =
+ eq : (a : @a, b : @a -> bool)
;;
trait hashable @a =