Is there a built-in function to print the items of a list without top-level parentheses, or would there be a better way to write
(defn println-list
"Prints a list without top-level parentheses, with a newline at the end"
[alist]
(doseq [item alist]
(print (str item " ")))
(print "\n"))
to get an output of
user=> (println-list '(1 2 3 4))
1 2 3 4
nil
Something like this?
From the Clojure docs for
apply: