3 ms·
It might surprise you, but Lisp is actually mixed typed. Here 'object' is of the type integer: (defmethod description ((object integer)) (format nil
by thibran 8y ago
It might surprise you, but Lisp is actually mixed typed. Here 'object' is of the type integer:
(defmethod description ((object integer))
(format nil "The integer ~D" object))
http://lisp-lang.org/learn/clos http://lisp-lang.org/learn/clos