| Paste number 84: | a, b, c and m1/m2 |
| Pasted by: | jdz |
| When: | 9 years, 3 months ago |
| Share: | Tweet this! | http://paste.lisp.org/+2C |
| Channel: | #lisp |
| Paste contents: |
(defclass a () ()) (defclass b (a) ()) (defclass c (b) ()) (defmethod m1 ((object a)) "m1 for a") (defmethod m1 ((object b)) "m1 for b") (defmethod m1 ((object c)) "m1 for c") (defvar *c* (make-instance 'c)) (m2 *c*) ;; Where's the problem?
This paste has no annotations.