:AROUND methods
An around method shadows all before, after, and primary methods
Value returned from generic function is value of around method
Nested around methods: most-specific first
(defmethod area :around ((object square-with-hole))
(- (call-next-method)
(area-of-hole object)))
Previous slide
Next slide
Back to first slide
View graphic version