|
Re: [Sbcl-help] problem with structure
From: Stas Boukarev <stassats@gm...> - 2010-09-22 09:34
|
Giovanni Gigante <giov@...> writes: > CL-USER> (defstruct foo (bar #() :type (simple-array t (*)))) > FOO > CL-USER> (typep #(1 2) '(simple-array t (*))) > T > CL-USER> (setf *a* #S(foo :bar #(1 2))) > > The value ((SB-IMPL::|bqv|) 1 2) > is not of type > (SIMPLE-ARRAY T (*)). > [Condition of type TYPE-ERROR] > > I've also tried with vector, simple-vector etc. but the result is the same. > what's happening here? and by the way, isn't |bqv| a bit cryptic? > What version of SBCL are you using? I suspect a fairly old one. -- With Best Regards, Stas. |
| Thread | Author | Date | |
|---|---|---|---|
| [Sbcl-help] problem with structure | Giovanni Gigante <giov@ci...> |
|
|
|
|