If I try to make a resizable string with make-array, but error raises with vector-push..:
- Code: Select all
(defparameter str (make-array 10 :fill-pointer 0 :adjustable t :element-type 'character))
(vector-push 'a' str) ;;error raise:
value STR is not of the expected type (AND
[Condition of type TYPE-ERROR]
....?it works without specify :element-type.....but why it's atype error?? 'a' is a char...
thanks in advance!!!