lispdoc - results for symbol |
symbol | Undocumented
|
Example:(defun special-form? (symbol) (assoc symbol *special-form-alist*)) | Mentioned in: CLtL2 - 14. Sequences CLtL2 - 19.5. Defstruct Options CLtL2 - 2.13. Functions CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 2.3. Symbols CLtL2 - 25.1.4. Similarity of Constants CLtL2 - 26.6. Iteration Control CLtL2 - 28.1.4. Integrating Types and Classes CLtL2 - 6.2.2. Specific Data Type Predicates CLtL2 - 7.1. Reference CLtL2 - 7.3. Function Invocation CLtL2 - 7.8.4. Mapping HyperSpec - 10.1 Symbol Concepts HyperSpec - 11.1.1.2.4 Locating a Symbol in a Package HyperSpec - 11.1.2.3.1 Interning a Symbol in the KEYWORD Package HyperSpec - 5.1.2.8 Symbol Macros as Places HyperSpec - Symbol DECLARE HyperSpec - Symbol LAMBDA HyperSpec - System Class SYMBOL PCL - to be continued |
(symbolp object) | Function: Return true if OBJECT is a SYMBOL, and NIL otherwise.
|
Example:(defun unknown-p (exp) (symbolp exp)) | Mentioned in: CLtL2 - 26.10. Conditional Execution CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function SYMBOLP On Lisp - When Capture Occurs |
symbols | |
| Mentioned in: HyperSpec - 1.4.1.3 Special Symbols HyperSpec - 1.4.1.4.1 Case in Symbols HyperSpec - 1.9 Symbols in the COMMON-LISP Package HyperSpec - 10.2 The Symbols Dictionary HyperSpec - 11.1.1.2 Symbols in a Package HyperSpec - 11.1.1.2.1 Internal and External Symbols HyperSpec - 11.1.1.2.3 Accessibility of Symbols in a Package HyperSpec - 2.3.4 Symbols as Tokens HyperSpec - 22.1.3.3 Printing Symbols HyperSpec - 22.1.3.3.1 Package Prefixes for Symbols HyperSpec - 3.1.2.1.1 Symbols as Forms HyperSpec - 3.1.2.1.1.4 Symbols Naming Both Lexical and Dynamic Variables | |
(do-symbols (var &optional (package '*package*) result-form) &body body-decls) | Function: DO-SYMBOLS (VAR [PACKAGE [RESULT-FORM]]) {DECLARATION}* {TAG | FORM}* Executes the FORMs at least once for each symbol accessible in the given PACKAGE with VAR bound to the current symbol.
|
Example:(defun symbols->list (pkg external?) (let ((list nil)) (if external? (do-external-symbols (s pkg) (push s list)) (do-symbols (s pkg) (push s list))) list)) | Mentioned in: CLtL2 - 11.2. Package Names CLtL2 - 11.7. Package System Functions and Variables CLtL2 - 7.8.3. Simple Iteration Constructs CLtL2 - 7.9. Structure Traversal and Side Effects HyperSpec - Macro DO-SYMBOLS, DO-EXTERNAL-SYMBOLS, DO-ALL-SYMBOLS On Lisp - Chapter _28 |
(copy-symbol symbol &optional (copy-props nil) &aux new-symbol) | Function: Make and return a new uninterned symbol with the same print name as SYMBOL. If COPY-PROPS is false, the new symbol is neither bound nor fbound and has no properties, else it has a copy of SYMBOL's function, value and property list.
|
| Mentioned in: CLtL2 - 10.3. Creating Symbols HyperSpec - Function COPY-SYMBOL | |
(find-symbol name &optional (package (sane-package))) | Function: Return the symbol named STRING in PACKAGE. If such a symbol is found then the second value is :INTERNAL, :EXTERNAL or :INHERITED to indicate how the symbol is accessible. If no symbol is found then both values are NIL.
|
Example:(defun get-late-bind-sym (package name) "Tries to find a sym that may not exist at read, compile or load time, ie totally dynamic." (when-bind (pack (find-package package)) (find-symbol (symbol-name name) pack))) | Mentioned in: CLtL2 - 11.2. Package Names CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function FIND-SYMBOL PCL - a bit of package and symbol vocabulary PCL - how the reader uses packages |
(symbol-name symbol) | Function: Return SYMBOL's name as a string.
|
Example:(defun as-keyword (symbol) (intern (symbol-name symbol) :keyword)) | Mentioned in: CLtL2 - 10.2. The Print Name CLtL2 - 10.3. Creating Symbols CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function SYMBOL-NAME On Lisp - Chapter _28 |
(make-symbol string) | Function: Make and return a new symbol with the STRING as its print name.
|
Example:(defun new-symbol (&rest args) "Concatenate symbols or strings to form an uninterned symbol" (make-symbol (format nil "~{~a~}" args))) | Mentioned in: CLtL2 - 10.3. Creating Symbols HyperSpec - Function MAKE-SYMBOL |
(symbol-value symbol) | Function: Return SYMBOL's current bound value.
|
| Mentioned in: CLtL2 - 10. Symbols CLtL2 - 20.1. Run-Time Evaluation of Forms CLtL2 - 21.3. Operations on Streams CLtL2 - 29.3.7. Named Restarts CLtL2 - 7.1. Reference CLtL2 - 7.2. Generalized Variables HyperSpec - Accessor SYMBOL-VALUE Successful Lisp - chapter32 | |
(symbol-plist symbol) | Function: Return SYMBOL's property list.
|
| Mentioned in: CLtL2 - 10.1. The Property List HyperSpec - Accessor SYMBOL-PLIST PCL - keeping track of inherited slots PCL - lookup tables alists and plists | |
(symbol-package symbol) | Function: Return the package SYMBOL was interned in, or NIL if none.
|
| Mentioned in: CLtL2 - 10.3. Creating Symbols CLtL2 - 11.3. Translating Strings to Symbols HyperSpec - Function SYMBOL-PACKAGE On Lisp - Chapter _27 | |
(symbol-macrolet macrobindings &body body) | Function: SYMBOL-MACROLET ({(name expansion)}*) decl* form* Define the NAMES as symbol macros with the given EXPANSIONS. Within the body, references to a NAME will effectively be replaced with the EXPANSION.
|
| Mentioned in: CLtL2 - 25.1.2. Compiled Functions CLtL2 - 28.2. Functions in the Programmer Interface CLtL2 - 3. Scope and Extent CLtL2 - 5.3.3. Control of Time of Evaluation CLtL2 - 7.1.2. Assignment CLtL2 - 7.10.1. Constructs for Handling Multiple Values CLtL2 - 7.2. Generalized Variables CLtL2 - 7.5. Establishing New Variable Bindings CLtL2 - 8.2. Macro Expansion CLtL2 - 8.5. Environments CLtL2 - 9.1. Declaration Syntax HyperSpec - Special Operator SYMBOL-MACROLET On Lisp - Recursion on Cdrs (Macros Returning Functions) On Lisp - Recursion on Subtrees (Macros Returning Functions) PCL - eval when PCL - manipulating the lexical environment PCL - other special operators | |
(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) |
setfsymbol-plist | |
| Mentioned in: PCL - destructuring bind | |
(do-all-symbols (var &optional result-form) &body body-decls) | Function: DO-ALL-SYMBOLS (VAR [RESULT-FORM]) {DECLARATION}* {TAG | FORM}* Executes the FORMs once for each symbol in every package with VAR bound to the current symbol.
|
| Mentioned in: CLtL2 - 11.2. Package Names CLtL2 - 11.7. Package System Functions and Variables CLtL2 - 25.3. Debugging Tools CLtL2 - 7.8.3. Simple Iteration Constructs HyperSpec - Macro DO-SYMBOLS, DO-EXTERNAL-SYMBOLS, DO-ALL-SYMBOLS | |
(find-all-symbols string-or-symbol) | Function: Return a list of all symbols in the system having the specified name.
|
| Mentioned in: CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function FIND-ALL-SYMBOLS | |
(do-external-symbols (var &optional (package '*package*) result-form) &body body-decls) | Function: DO-EXTERNAL-SYMBOLS (VAR [PACKAGE [RESULT-FORM]]) {DECL}* {TAG | FORM}* Executes the FORMs once for each external symbol in the given PACKAGE with VAR bound to the current symbol.
|
Example:(defun external-symbols (package) (let ((acc (make-array 100 :adjustable t :fill-pointer 0))) (do-external-symbols (symbol package) (vector-push-extend symbol acc)) acc)) | Mentioned in: CLtL2 - 11.2. Package Names CLtL2 - 11.7. Package System Functions and Variables CLtL2 - 7.8.3. Simple Iteration Constructs HyperSpec - Macro DO-SYMBOLS, DO-EXTERNAL-SYMBOLS, DO-ALL-SYMBOLS |
(define-symbol-macro name expansion) | Undocumented
|
| Mentioned in: HyperSpec - Macro DEFINE-SYMBOL-MACRO PCL - manipulating the lexical environment | |
(synonym-stream-symbol instance) | Function: Return whether debug-block represents elsewhere code.
|
| Mentioned in: CLtL2 - 21.3. Operations on Streams HyperSpec - Function SYNONYM-STREAM-SYMBOL | |
(alexandria.0.dev:ensure-symbol name &optional (package *package*)) | Function: Returns a symbol with name designated by NAME, accessible in package designated by PACKAGE. If symbol is not already accessible in PACKAGE, it is interned there. Returns a secondary value reflecting the status of the symbol in the package, which matches the secondary return value of INTERN. Example: (ensure-symbol :cons :cl) => cl:cons, :external
|
(alexandria.0.dev:format-symbol package control &rest arguments) | Function: Constructs a string by applying ARGUMENTS to string designator CONTROL as if by FORMAT, and then creates a symbol named by that string. If PACKAGE is NIL, returns an uninterned symbol, if package is T, returns a symbol interned in the current package, and otherwise returns a symbol interned in the package designated by PACKAGE.
|
(package-shadowing-symbols x) | Undocumented
|
| Mentioned in: CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function PACKAGE-SHADOWING-SYMBOLS | |
(cffi:foreign-symbol-pointer name &key (library default)) | Undocumented
|
(cffi:foreign-bitfield-symbols type value) | Function: Convert an integer VALUE into a list of matching symbols according to the bitfield TYPE.
|
s-xml:*auto-export-symbols* | Variable: If t, export newly interned symbols form their packages
|
s-xml:*require-existing-symbols* | Variable: If t, each XML identifier must exist as symbol already
|
(cffi-sys:%foreign-symbol-pointer name library) | Function: Returns a pointer to a foreign symbol NAME.
|
(cffi:foreign-bitfield-symbol-list bitfield-type) | Function: Return a list of SYMBOLS defined in BITFIELD-TYPE.
|
(cffi-sys:canonicalize-symbol-name-case name) | Undocumented
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |