Similar to list-length
list-length
lispworks
dotted-list-length list => result
list
A list.
result
An integer.
The function dotted-list-length performs the same action as list-length , except that if the last cdr is not nil then instead of signalling an error, it returns the number of cons es plus 1.
dotted-list-length
cdr
nil
cons
dotted-list-p