summary refs log tree commit diff
path: root/lib/tableprint.fnl
blob: 4d9bfbef985e46648bcc673b71aa49fd0bcdc304 (plain)
1
2
3
4
5
6
7
; print a table
(fn pprint [tbl]
  (each [k v (pairs tbl)]
    (let [table? (= (type v) :table)]
      (print k v))))

{: pprint}