Re: package "CLOS" not found
- From: Dmitry Gorbatovsky <fincomus-nospam@xxxxxxxxx>
- Date: Fri, 30 Jun 2006 18:20:15 +0300
The code uses features of the CLOS MOP here. Since the CLOS MOP is notThanks, I mean thanks a lot.
part of ANSI Common Lisp, the symbols that name CLOS MOP functionality
cannot be part of the common-lisp package (ANSI Common Lisp forbids such
extensions of the common-lisp package). Therefore, implementations have
to be put these symbols in another package. Unfortunately, the CLOS MOP
doesn't specify a package name for its symbols, so every implementation
has its own idea where to put the package. Typical names are "CLOS",
"MOP", "CLOS-MOP" or some more implementation-specific name.
A good way to find the right package is to do an (apropos "CLASS-SLOTS")
(or an apropos on some other CLOS MOP identifier), and/or check out the
documentation of the respective implementation. Another way is to use
the Closer to MOP library which, apart from fixing some compatibility
issues, provides a common package name for all implementations. See
http://common-lisp/project/closer
Pascal
Wow :).
dg
--
?If we knew what it was we were doing, it would not be called research,
would it??
--Albert Einstein
.
- References:
- package "CLOS" not found
- From: Dmitry Gorbatovsky
- Re: package "CLOS" not found
- From: Pascal Costanza
- package "CLOS" not found
- Prev by Date: Re: What language could be written "Matrix"
- Next by Date: Re: Why is LISP syntax superior?
- Previous by thread: Re: package "CLOS" not found
- Next by thread: What language could be written "Matrix"
- Index(es):
Relevant Pages
|