Code: Select all
(join '(1 2 3))
Code: Select all
(join '("1" "2" "3"))
In general, should user-errors like this be guarded against in the code, or should we be allowed to shoot ourselves in the foot?
Or perhaps join could do this:
Code: Select all
(join (sequence 1 10))
;-> 12345678910
Code: Select all
(join (map string (sequence 1 10)))