Difference between the 'Standard method combination' and 'Simple method combination' in CLOS
- 阅读更多 关于 Difference between the 'Standard method combination' and 'Simple method combination' in CLOS
问题 I've been studying the Common Lisp Object Protocol (CLOS) and I came across one doubt. Does anybody what is the meaning of the 'Standard method combination' and 'Simple method combination' in CLOS? And in the 'Simple method combination' what does it mean to have a 'list' method combination? (defgeneric what-are-you? (obj) (:method-combination list :most-specific-last)) (defmethod what-are-you? list ((obj fixnum)) "I am a FIXNUM") (defmethod what-are-you? list ((obj float)) "I am a FLOAT")