From: Chun T. (binghe) <bin...@gm...> - 2006-08-04 07:50:54
|
Thanks, now I know #'coerce can use for this purpose. I guess, this can be used for save the space of a character array, am I right? On Friday 04 August 2006 15:05, Yaroslav Kavenchuk wrote: > Chun Tian (binghe) wrote: > > * (type-of "public") > > (SIMPLE-ARRAY CHARACTER (6)) > > * (typep "public" '(simple-array base-char (*))) > > nil > > * (type-of (coerce "asdf" 'simple-base-string)) > > (SIMPLE-BASE-STRING 4) > > * (typep (coerce "asdf" 'simple-base-string) > '(simple-array base-char (*))) > > T |