Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
parenthesis
6117 days ago |
link
|
parent
It would be something like this
(w/uniq end (def print-list (((o a end) . b)) (when (isnt a end) (prn a) (print-list b))))
to avoid the problem of the symbol end being in the input list.
1 point
by
drcode
6117 days ago |
link
Of course, going down that road makes it bulkier and starts making the brevity less convincing :)
-----