I try to do this directly to the interpret:

(setf example (coerce "blablabla" 'list))

and works fine. Infact (car example) returns #\b

but if I try this:

(defun myfun (string) ( (setf example (coerce string 'list))))

(myfun "blablabla") 

I don't get the same!

How can I fix?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top