Consider the following example, where a closure is defined:
(let ((test-button (make-instance 'capi:button)))
(defun is-button-enabled ()
(capi:button-enabled test-button)))
This has defined the function
is-button-enabled
, which is a closure over the variable
test-button
, where the value of
test-button
is an instance of the
capi:button
class.
The Inspector examines the symbol
is-button-enabled
.
FUNCTION
slot to select the closure.LispWorks IDE User Guide (Unix version) - 25 Nov 2011