All Manuals > LispWorks User Guide and Reference Manual > 36 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 - 20 Sep 2017

NextPrevUpTopContentsIndex