reverse
reverse(l_arg) =>l_result
Description
Returns a copy of the given list with the elements in reverse order.
Because this function copies the list, it uses a lot of memory for large lists.
Arguments
Value Returned
|
A new list with the elements at the top level in reverse order. |
Examples
reverse( '(1 2 3) )
=> (3 2 1)
reverse( '(a b (c d) e) )
=> '(e (c d) b a)
Related Topics
Return to top