All Manuals > LispWorks® User Guide and Reference Manual > 35 The DSPEC Package

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.

Examples
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 - 01 Dec 2021 19:30:33