The macro
def
informs the system that any definitions within
body
should be recorded as being within the dspec
dspec
. This means that when something attempts to locate such a definition, it should look for a definition named
dspec
.
Use
def
to wrap a group of definitions so that source location for one of the group causes the LispWorks Editor to look for the dspec in the
def
instead. Typically you will also need a define-form-parser definition for the macro that expands into the
def
.