Raymond Toy <[EMAIL PROTECTED]> writes: > I think this happens because CMUCL doesn't have a specialized array > type for arrays with simple-base-string. Thus, the actual type of the > array is (simple-array T 1). Compare with what > upgraded-array-element-type says for simple-base-string. > > Earlier versions would trust your declared element-type, but later > versions took this out as being unsafe because the compiler and > runtime couldn't really prove it was true. For example, you could > call elem-length with any 1D simple-array and bad things could happen > if it wasn't really a (simple-array simple-base-string 1).
Thanks. So using (the simple-base-string (aref ... is currently the right thing to do. Regards, Chris
