Re: (typep (find-package :cl) 'structure-object)
"Tobias C. Rittweiler" <[email protected]> Fri, 22 Feb 2008 00:50:36 +0100
| Newsgroups | gmane.lisp.steel-bank.devel,gmane.lisp.allegro,gmane.lisp.cmucl.devel |
|---|---|
| Message-ID | <[email protected]> |
"Tobias C. Rittweiler" <[email protected]> writes: > Hi, > > SBCL, CMUCL and ACL seem to implement packages as structures, and this > implementation detail leaks through as can be witnessed by > > (typep (find-package :cl) 'structure-object) > > evaluating to T. > > CLHS specifies the class precedence list for packages to be > > package, t > > so I think -- please correct me if I'm wrong -- that the above form must > conformingly return NIL. > > -T. Alastair Bridgewater just pointed me to the last paragraph of CLHS 4.2.2 Sorry for the noise!, -T. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/