3 ms·
> Clojure can, in a sense, be written forwards or backwards Clojure can in many senses be written forwards or backwards. By defining this short macro somewhere
by vorg 14y ago
> Clojure can, in a sense, be written forwards or backwards
Clojure can in many senses be written forwards or backwards. By defining this short macro somewhere...
(defmacro topdown-tale [& stmts]
`(do ~@(reverse stmts)))
we can write our top-level control statement at the top and the functions it calls underneath, by bracketing with...
(topdown-tale
...
)