lispdoc - results for nreverse |
(nreverse sequence) | Function: Return a sequence of the same elements in reverse order; the argument is destroyed.
|
Example:(defun parse-normalise (acc) (setf (adds acc) (nreverse (adds acc))) (setf (subs acc) (nreverse (subs acc))) acc) | Mentioned in: CLtL2 - 14.1. Simple Sequence Functions CLtL2 - 14.5. Sorting and Merging CLtL2 - 15.3. Alteration of List Structure CLtL2 - 7.8.2. General Iteration HyperSpec - Function REVERSE, NREVERSE On Lisp - Extending Lisp On Lisp - Functional Design PCL - a couple of utility functions PCL - combining recycling with shared structure PCL - destructive operations PCL - list manipulation functions PCL - other structures PCL - putting it all together PCL - the mighty loop Successful Lisp - chapter13 Successful Lisp - closures |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |