See
|
(defun join (separator strings) |
I was recently bit this (see atlas-engineer/nyxt#1217 if you want to get confused :p): join used to accept a list of anything and leverage format to turn the list elements to strings using print-object.
But since 51feb40#diff-8793bcbd16d1dc95956881ad175e7b1ad86aabfbdbf037975049fd71200af390 the function type only allows list of strings, while the body has remained the same.
So I suggest
- either changing the type to accept a
list arg
- or changing the body to
(apply #'concatenate 'string ARG) to match the new signature.
Thoughts?
(Edit: Typos.)
See
cl-str/str.lisp
Line 176 in 507ec6c
I was recently bit this (see atlas-engineer/nyxt#1217 if you want to get confused :p):
joinused to accept a list of anything and leverageformatto turn the list elements to strings usingprint-object.But since 51feb40#diff-8793bcbd16d1dc95956881ad175e7b1ad86aabfbdbf037975049fd71200af390 the function type only allows list of strings, while the body has remained the same.
So I suggest
listarg(apply #'concatenate 'string ARG)to match the new signature.Thoughts?
(Edit: Typos.)