diff --git a/src/clj_jtwig/standard_functions.clj b/src/clj_jtwig/standard_functions.clj index 4b3ed15..1817f99 100644 --- a/src/clj_jtwig/standard_functions.clj +++ b/src/clj_jtwig/standard_functions.clj @@ -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