<syntaxhighlight lang="lisp" line> (length '(a b c d)) 4
(length '(a b (c d))) 3
(length '()) 0 </syntaxhighlight>