The SRFI-1 List Library
is available, though not enabled by default. To use its functions you
must (require 'list-lib)
or (require 'srfi-1)
.
(require 'list-lib) (iota 5 0 -0.5) ;; => (0.0 -0.5 -1.0 -1.5 -2.0)
reverse! list | Function |
The result is a list consisting of the elements of list in reverse order.
No new pairs are allocated, instead the pairs of list are re-used,
with cdr cells of list reversed in place. Note that if list
was pair, it becomes the last pair of the reversed result.
|