NextPrevUpTopContentsIndex

def

Macro
Summary

Informs the system of a name for a definition.

Package

dspec

Signature

def dspec &body body => result

Arguments

dspec

A dspec.

body

Lisp forms, evaluated as an implicit progn .

Values

result

The result of body .

Description

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 .

dspec can be non-canonical.

 

See also

location


LispWorks Reference Manual - 6 Apr 2005

NextPrevUpTopContentsIndex