lispdoc - results for symbol-function |
(symbol-function symbol) | Function: Return SYMBOL's current function definition. Settable with SETF.
|
Example:(defun safe-symbol-function (sym) "If the symbol has a bound function, return the bound function, otherwise nil." (if (and sym (fboundp sym)) (symbol-function sym) nil)) | Mentioned in: CLtL2 - 10. Symbols CLtL2 - 2.13. Functions CLtL2 - 25.1. The Compiler CLtL2 - 25.1.2. Compiled Functions CLtL2 - 28.2. Functions in the Programmer Interface CLtL2 - 4.8. Type Conversion Function CLtL2 - 5.3.3. Control of Time of Evaluation CLtL2 - 7.1. Reference HyperSpec - Accessor SYMBOL-FUNCTION On Lisp - Applications for Macros On Lisp - Chapter _28 On Lisp - Recursion on Cdrs (Macros Returning Functions) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |