ref: fc4588a48bbd08800d0127ce3ab748ee4dde1134
parent: 14fca46c234b6da5f79283a871cfb7275efadaf5
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Oct 21 15:00:20 EDT 2016
Missed some renames.
--- a/lib/inifile/parse.myr
+++ b/lib/inifile/parse.myr
@@ -25,7 +25,7 @@
}
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)
--- a/lib/std/test/bitset.myr
+++ b/lib/std/test/bitset.myr
@@ -47,7 +47,7 @@
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++
;;
--- a/support/dumpleak.myr
+++ b/support/dumpleak.myr
@@ -100,7 +100,7 @@
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 @@
;;
;;
- for (stk, (n, sz)) in std.htbykeyvals(aggr)
+ for (stk, (n, sz)) in std.byhtkeyvals(aggr)
std.put("unfreed: {} (size: {}): {}\n", n, sz, stk)
;;
}