Christophe Weblog Wiki Code Publications Music
get the protocol more right
authorChristophe Rhodes <csr21@cantab.net>
Fri, 13 Dec 2013 00:01:56 +0000 (00:01 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 13 Dec 2013 00:01:56 +0000 (00:01 +0000)
commit307d00a6ceb31b461b49c9a8873dcb4bf451fba7
tree4b7e6b39503b7a0a9e47d2e0deeb8a45ad349cc4
parent66611e8a3b5cecf314cd57b7ab8d1aea19abaa47
get the protocol more right

Include some generic function arguments for specialization in protocol
functions involving generalizers.  (Otherwise there are some cases where
it's not possible to define methods not in violation of the rules about
specializers applicable to instances of not-standard classes.)

Adjust the CONS-SPECIALIZER example to suit, and include an extra test
case which shows of method-combination as well as the new ability to
have multiple applicable methods with class specializers.
cons-specializer.lisp
specializable.lisp