summary refs log tree commit diff
path: root/lib/keys.fnl
blob: 0f3364aa3b59c1b6b378677f18b2d4e2c9b0b0e6 (plain)
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}