LispWorks User Guide and Reference Manual > 30 The DSPEC Package

NextPrevUpTopContentsIndex

dspec-undefiner

Function
Summary

Returns an undefining expression for a dspec.

Package

dspec

Signature

dspec-undefiner dspec => form

Arguments

dspec

A dspec.

Values

form

A Lisp form.

Description

The function dspec-undefiner returns a form which would undefine dspec, whether or not dspec is currently defined.

If no such form can be constructed, nil is returned.

Example
CL-USER 66 > (dspec:dspec-undefiner '(defun foo))
(PROGN (FMAKUNBOUND (QUOTE FOO)) (SETF (DOCUMENTATION (QUOTE FOO) (QUOTE FUNCTION)) NIL))

LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex