Logo

Programming-Idioms

History of Idiom 171 > diff from v14 to v15

Edit summary for version 15 by ryanolsonx:
New Clojure implementation by user [ryanolsonx]

Version 14

2019-09-26, 14:30:33

Version 15

2019-09-26, 14:36:37

Idiom #171 Add an element at the end of a list

Append element x to the list s.

Idiom #171 Add an element at the end of a list

Append element x to the list s.

Extra Keywords
push grow
Extra Keywords
push grow
Code
(conj _s _x)
Comments bubble
Example:
(conj [1 2 3] 4) => [1 2 3 4]
Doc URL
https://clojuredocs.org/clojure.core/conj