summaryrefslogtreecommitdiff
path: root/lib/inifile
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-11-03 10:49:27 -0700
committerOri Bernstein <ori@markovcorp.com>2017-11-14 13:50:39 -0800
commit2d00e8f657965583e906327bd4c0eff6953a71cd (patch)
tree18620db7cb82b25881675cbd1966f095399328b2 /lib/inifile
parent5d40b4ead1f20776f23bed271412af829bbe0e96 (diff)
downloadmc-2d00e8f657965583e906327bd4c0eff6953a71cd.tar.gz
Rename comparable => equatable
Diffstat (limited to 'lib/inifile')
-rw-r--r--lib/inifile/types.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/inifile/types.myr b/lib/inifile/types.myr
index f2736e0..d91f7e1 100644
--- a/lib/inifile/types.myr
+++ b/lib/inifile/types.myr
@@ -13,7 +13,7 @@ pkg inifile =
;;
impl std.hashable (byte[:], byte[:])
- impl std.comparable (byte[:], byte[:])
+ impl std.equatable (byte[:], byte[:])
;;
impl std.hashable (byte[:], byte[:]) =
@@ -25,13 +25,13 @@ impl std.hashable (byte[:], byte[:]) =
}
;;
-impl std.comparable (byte[:], byte[:]) =
- cmp = {a, b
+impl std.equatable (byte[:], byte[:]) =
+ eq = {a, b
var s1, k1
var s2, k2
(s1, k1) = a
(s2, k2) = a
- -> std.cmp(s1, s2) && std.cmp(k1, k2)
+ -> std.eq(s1, s2) && std.eq(k1, k2)
}
;;