Logo

Programming-Idioms

History of Idiom 165 > diff from v59 to v60

Edit summary for version 60 by programming-idioms.org:
[Clojure] Result x

Version 59

2020-05-03, 21:41:05

Version 60

2020-05-03, 21:41:33

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Variables
x,items
Variables
x,items
Code
(last items)
Code
(def x (last items))