summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-10-21 19:00:20 -0700
committerOri Bernstein <ori@eigenstate.org>2016-10-21 19:01:28 -0700
commitfc4588a48bbd08800d0127ce3ab748ee4dde1134 (patch)
tree5b64c96fa6df27b69b97b1b7c89631c6d0cb88a8
parent14fca46c234b6da5f79283a871cfb7275efadaf5 (diff)
downloadmc-fc4588a48bbd08800d0127ce3ab748ee4dde1134.tar.gz
Missed some renames.
-rw-r--r--lib/inifile/parse.myr2
-rw-r--r--lib/std/test/bitset.myr2
-rw-r--r--support/dumpleak.myr4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/inifile/parse.myr b/lib/inifile/parse.myr
index 420fc80..28718f9 100644
--- a/lib/inifile/parse.myr
+++ b/lib/inifile/parse.myr
@@ -25,7 +25,7 @@ const load = {path
}
const free = {ini
- for ((sect, key), val) in std.htbykeyvals(ini.elts)
+ for ((sect, key), val) in std.byhtkeyvals(ini.elts)
std.slfree(val)
std.slfree(sect)
std.slfree(key)
diff --git a/lib/std/test/bitset.myr b/lib/std/test/bitset.myr
index dd4ae6d..020e273 100644
--- a/lib/std/test/bitset.myr
+++ b/lib/std/test/bitset.myr
@@ -47,7 +47,7 @@ const main = {
std.bsput(bs, 16)
std.bsput(bs, 7)
std.bsput(bs, 3)
- for e in std.bsbyvalue(bs)
+ for e in std.bybsvalue(bs)
testr.check(ctx, e == expected[i], "expected[{}] ({}) != {}", i, e, expected[i])
i++
;;
diff --git a/support/dumpleak.myr b/support/dumpleak.myr
index 9ab20e8..e5db06f 100644
--- a/support/dumpleak.myr
+++ b/support/dumpleak.myr
@@ -100,7 +100,7 @@ const dumptrace = {tab
var aggr
aggr = std.mkht(hashintsl, std.sleq)
- for (k, (sz, stk)) in std.htbykeyvals(tab)
+ for (k, (sz, stk)) in std.byhtkeyvals(tab)
match std.htget(aggr, stk[:stackaggr])
| `std.Some (count, total):
std.htput(aggr, stk[:stackaggr], (count + 1, sz + total))
@@ -109,7 +109,7 @@ const dumptrace = {tab
;;
;;
- for (stk, (n, sz)) in std.htbykeyvals(aggr)
+ for (stk, (n, sz)) in std.byhtkeyvals(aggr)
std.put("unfreed: {} (size: {}): {}\n", n, sz, stk)
;;
}