NextPrevUpTopContentsIndex

documentation

Generic Function
Summary

Returns the documention string if available.

Package

common-lisp

Signature

documentation x doc-type => documentation

(setf documentation) new-value x doc-type => new-value

Description

The generic function documentation operates as specified in the ANSI Common Lisp standard. Additional methods with signatures:

documentation ( dspec t) ( doc-type (eql 'dspec:dspec))

(setf documentation) new-value ( dspec t) ( doc-type (eql 'dspec:dspec))

are provided.

This method allows finding or setting the documentation string when you know the dspec. See the LispWorks User Guide for an introduction to dspecs.

dspec must be a dspec, but it can be non-canonical. This method canonicalizes dspec and then calls documentation with the name as the first argument and the appropriate dspec class name as the second, thereby calling a standard documentation method.


LispWorks Reference Manual - 6 Apr 2005

NextPrevUpTopContentsIndex