lispdoc - results for copy-array |
(alexandria.0.dev:copy-array array &key (element-type (array-element-type array)) (fill-pointer (and (array-has-fill-pointer-p array) (fill-pointer array))) (adjustable (adjustable-array-p array))) | Function: Returns an undisplaced copy of ARRAY, with same fill-pointer and adjustability (if any) as the original, unless overridden by the keyword arguments. Performance depends on efficiency of general ADJUST-ARRAY in the host lisp -- for most cases a special purpose copying function is likely to perform better.
|
(copy-alist alist) | Function: Return a new association list which is EQUAL to ALIST.
|
| Mentioned in: CLtL2 - 15.2. Lists HyperSpec - Function COPY-ALIST PCL - lookup tables alists and plists | |
(copy-list list) | Function: Return a new list which is EQUAL to LIST. LIST may be improper.
|
Example:(defun direct-slots (name) (copy-list (get name 'slots))) | Mentioned in: CLtL2 - 15.2. Lists CLtL2 - 22.1.3. Macro Characters HyperSpec - Function COPY-LIST On Lisp - Functional Interfaces On Lisp - New Utilities (Computation at Compile-Time) PCL - combining recycling with shared structure PCL - trees |
(copy-seq sequence) | Function: Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.
|
Example:(defun copy-board (board) (copy-seq board)) | Mentioned in: CLtL2 - 14.1. Simple Sequence Functions CLtL2 - 15.2. Lists HyperSpec - Function COPY-SEQ PCL - whole sequence manipulations Successful Lisp - chapter13 |
(copy-tree object) | Function: Recursively copy trees of conses.
|
| Mentioned in: CLtL2 - 15.2. Lists CLtL2 - 15.4. Substitution of Expressions HyperSpec - Function COPY-TREE PCL - lookup tables alists and plists PCL - trees | |
(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 | |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |