(rontolisp) docs
← Reference

clojure.template

Expression templates: substituting values for the argument symbols of an expression. Require clojure.template to use them; it is Clojure source written for rontolisp from the documented behavior of Clojure's namespace, and runs the same on every backend.

VarBehavior
apply-template(apply-template argv expr values): expr with each symbol of argv replaced, at any depth, by the value at the same position in values; every member of argv must be a symbol
do-template(do-template argv expr & values): a do block holding one copy of expr per group of values, each group as long as argv (a short last group is dropped)
11
-8
30