All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

dotted-list-length Function

Summary

A function similar to list-length.

Package

lispworks

Signature

dotted-list-length list => result

Arguments
list
A list.
Values
result
An integer.
Description

The function dotted-list-length performs the same action as list-length, except that if the last cdr of list is not nil then instead of signaling an error, it returns the number of conses plus 1.

See also

dotted-list-p


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41