add 'dump_table' function

This commit is contained in:
Gered 2014-03-05 18:26:12 -05:00
parent 8f47565e0a
commit 852bd519c0

View file

@ -28,6 +28,11 @@
(with-out-str
(clojure.pprint/pprint x)))}
"dump_table"
{:fn (fn [x]
(with-out-str
(clojure.pprint/print-table x)))}
"nth"
{:fn (fn [sequence index & optional-not-found]
(let [values (if (map? sequence) ; map instance check to match behaviour of jtwig's first/last implementation