1 2 3 4 5 6 7
(fn keys [t] "takes a table returns a sequential list of its keys" (local out []) (each [k v (pairs t)] (table.insert out k)) out) {: keys}