我正在尝试学习 clojure,但遇到了这段代码。谁能解释到底发生了什么?前面有星号的线是我需要帮助理解的线。谢谢!
(defn shallow-reverse
"Reverses the top level elements of lst"
*([lst]
(shallow-reverse () lst))
*([reversed lst]
(cond
(empty? lst) reversed
:else (recur (cons (first lst) reversed) (rest lst)))))