From: Vyacheslav A. <cof...@gm...> - 2007-08-26 05:26:00
|
On 8/22/07, Slava Akhmechet <cof...@gm...> wrote: > Calling 'class-prototype' on built in types in SBCL 1.0.7/Linux/X86 > gives strage results: > > (sb-mop:class-prototype (find-class 'integer)) => 42 > (sb-mop:class-prototype (find-class 'symbol)) => #:MU > > So far so good. But now... > > (sb-mop:class-prototype (find-class 'string)) => 42 > (sb-mop:class-prototype (find-class 'vector)) => 42 I created a patch for this that I attach to this email. Basically I added sane values for prototype of sequence, vector, string, simple-string, and list. I also added unit tests and later ran full regression tets to make sure I didn't break anything. Let me know if there's a better way to do something. Hope people find this useful. Regards, Slava Akhmecet |