Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!CS.CMU.EDU!asp
From: asp@CS.CMU.EDU (James Aspnes)
Newsgroups: gnu.emacs.bug
Subject: cl.el doesn't handle defstruct :includes right
Message-ID: <8908150732.AA00394@life.ai.mit.edu>
Date: 15 Aug 89 06:07:03 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: asp@cs.cmu.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 17

E.g:

(defstruct foo bar)
(defstruct (bar :include foo))

(foo-bar (make-bar)) => Error: [bar nil] is not of type foo

even though CLtL clearly specifies that this should work.  Since CLtL
does not require that defstruct accessors check the type of their
arguments, the above is easily brought into compliance (and sped up)
by eliminating the type-checking code.

I don't know how close you want cl.el to be to standard Common Lisp,
but if you want I can send you a replacement for build$accessors$for
that doesn't do type-checking.

--Jim