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

NextPrevUpTopContentsIndex

dotted-list-length

Function
Summary

Similar to list-length

Package

lispworks

Signature

dotted-list-length list => result

Arguments

list

A list.

Value

result

An integer.

Description

The function dotted-list-length performs the same action as list-length, except that if the last cdr 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 - 13 Feb 2015

NextPrevUpTopContentsIndex