Common Lisp: CLOS and with-slots
Hi. I'm a newbie to Common Lisp, and I'm using GNU Clisp. In working through a tutorial on CLOS, I set up a simple class and an instance:
Code:
(defclass rect () (l w)) Code:
(defun set-rect-values (rect l w) Code:
> (set-rect-values rect-a 2 2) |
Code:
(setf 'l-old l) |
All times are GMT -5. The time now is 07:10 PM. |