Logo

Programming-Idioms

History of Idiom 117 > diff from v16 to v17

Edit summary for version 17 by :
New Lisp implementation by user [nklein]

Version 16

2016-02-16, 19:00:19

Version 17

2016-02-16, 19:14:22

Idiom #117 Get list size

Set n to the number of elements of list x.

Idiom #117 Get list size

Set n to the number of elements of list x.

Code
(setf n (length x))
Doc URL
http://www.lispworks.com/documentation/HyperSpec/Body/f_length.htm#length