[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keywords in make-instance?

    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.