[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keywords in make-instance?
- To: Timothy.Freeman@PROOF.ERGO.CS.CMU.EDU
- Subject: Re: Keywords in make-instance?
- From: Danny Bobrow <Bobrow.pa@Xerox.COM>
- Date: 27 May 88 17:05 PDT
- Cc: commonloops.pa@Xerox.COM
- In-reply-to: Timothy.Freeman@PROOF.ERGO.CS.CMU.EDU's message of Fri, 20 May 88 18:01:07 EDT
- Sender: Bobrow.pa@Xerox.COM
Make-instance takes keyword arguments like this:
(make-instance 'class :key1 arg1 :key2 arg2 ...)
It could take ordinary symbols instead of keywords like this:
(make-instance 'class 'key1 arg1 'key2 arg2 ...)
Common Lisp does not specify that a keyword argument MUST come from the keyword
package. They only do so by default. The keyword arguments for make-instance
obey thi same rule.
danny