Logo

Programming-Idioms

History of Idiom 19 > diff from v34 to v35

Edit summary for version 35 by programming-idioms.org:
[Lisp] Variable name x

Version 34

2018-03-12, 05:24:31

Version 35

2018-03-13, 22:16:18

Idiom #19 Reverse a list

Reverse the order of the elements of list x .
This may reverse "in-place" and destroy the original ordering.

Idiom #19 Reverse a list

Reverse the order of the elements of list x .
This may reverse "in-place" and destroy the original ordering.

Code
(reverse (list 4 5 6 7 8))
Code
(reverse x)
Comments bubble
This preserve the value of x.