(defstruct shape () (pos-x 0.0) (pos-y 0.0)) (defstruct circle (shape) radius (:method print (me stream pretty-p) (if pretty-p (put-string `#`) :))) (let ((circ (new circle radius 5.3))) (prinl circ) ;; print machine readably (pprinl circ)) ;; print pretty