Fork me on GitHub
#announcements
<
2022-10-29
>
uochan22:10:37

Just pushed thrempl, A proof of concept for simple template engine using threading macros. https://github.com/liquidz/thrempl E.g.

(render "{{-> name greet}}!"
        {:name "world" :greet #(str "Hello " %)}))
;; => "Hello world!"

(render "{{->> name (str \"Hello \")}}!"
        {:name "world" :str str}))
;; => "Hello world!"

🆒 5
👍 1