User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:functions:fmakunbound [2019/06/15 02:00]
cl:functions:fmakunbound [2019/08/17 15:00] (current)
Line 1: Line 1:
 +====== Function FMAKUNBOUND ======
 +
 +====Syntax====
 +  * **fmakunbound** //name// → //name//
 +
 +====Arguments and Values====
 +  * //name// - a //​[[CL:​Glossary:​function name]]//.
 +
 +====Description====
 +Removes the //​[[CL:​Glossary:​function]]//​ or //​[[CL:​Glossary:​macro]]//​ definition, if any, of //name// in the //​[[CL:​Glossary:​global environment]]//​.
 +
 +====Examples====
 +<​blockquote>​
 +([[CL:​Macros:​defun]] add-some (x)
 +  ([[CL:​Functions:​math-add|+]] x 19)) 
 +<​r>​ADD-SOME</​r>​
 +([[CL:​Functions:​fboundp]] '​add-some) <​r>//​[[CL:​Glossary:​true]]//</​r>​
 +([[CL:​Special Operators:​flet]] ((add-some (x) ([[CL:​Functions:​math-add|+]] x 37)))
 +  (fmakunbound '​add-some)
 +  (add-some 1)) <​r>​38</​r>​
 +([[CL:​Functions:​fboundp]] '​add-some) <​r>//​[[CL:​Glossary:​false]]//</​r>​
 +</​blockquote>​
 +
 +====Side Effects====
 +None.
 +
 +====Affected By====
 +None.
 +
 +====Exceptional Situations====
 +Should signal an error of type type-error if //name// is not a //​[[CL:​Glossary:​function name]]//.
 +
 +The consequences are undefined if //name// is a //​[[CL:​Glossary:​special operator]]//​.
 +
 +====See Also====
 +  * **[[CL:​Functions:​fboundp|Function FBOUNDP]]**
 +  * **[[CL:​Functions:​makunbound|Function MAKUNBOUND]]**
 +
 +====Notes====
 +None.
 +
 +\issue{FUNCTION-NAME:​LARGE}