9mm/lib/tableprint.fnl

8 lines
130 B
Plaintext
Raw Normal View History

2024-05-28 21:04:00 +00:00
; print a table
(fn pprint [tbl]
(each [k v (pairs tbl)]
(let [table? (= (type v) :table)]
(print k v))))
{: pprint}