Logo

Programming-Idioms

History of Idiom 19 > diff from v35 to v36

Edit summary for version 36 by programming-idioms.org:
[Lisp] Typo in comments

Version 35

2018-03-13, 22:16:18

Version 36

2018-03-13, 22:16:34

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 x)
Code
(reverse x)
Comments bubble
This preserve the value of x.
Comments bubble
This preserves the value of x.