I tried to print a list of characters, and I was wondering if I could remove the quotes.
(def process-print-list
(fn [a-list]
(cond (empty? a-list) 'false
(list? a-list) (let [a a-list] (println (first a)) (process-print-
list (rest a) ))
:else (process-print-list (rest a-list) ))))
the list is ('x' y 'z))
with the following output:
(quote x)
(quote y)
(quote z)
I'm just trying to print it:
x
y
z
source
share