Logo

Programming-Idioms

History of Idiom 117 > diff from v42 to v43

Edit summary for version 43 by bplatz:
New Clojure implementation by user [bplatz]

Version 42

2018-04-06, 15:11:27

Version 43

2018-12-25, 17:00:35

Idiom #117 Get list size

Set n to the number of elements of list x.

Illustration

Idiom #117 Get list size

Set n to the number of elements of list x.

Illustration
Extra Keywords
length
Extra Keywords
length
Code
(def n (count x))