$ luarocks install kahKAH: one file, ~50 short Lua functions that recur across the
author's Lua projects:
- kist ops (push, map, kap, keysort, slice, argmin, copy, deepCopy)
- string coercion and pretty-print (thing, o),
- csv streaming,
- incremental stats (welford, sd, ent, mode, bisect, cliffsDelta, ks, sames, topTier),
- a confusion matrix (Confuse),
- a portable seeded PRNG,
- a one-line metatable OO binder,
- and a tiny test harness (chk, run1, main).
Run `lua kah.lua --all` for the self-test/demo suite.
Versions
Dependencies
lua >= 5.3