dotted-length |
| list
| [Function] |
Purpose
Return the length of a proper list or dotted list.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
list | A proper list or a dotted list | |
n | An integer |
Returns
The length of list.
Examples
> (dotted-length '(a b)) 2 > (dotted-length '(a b . c)) 2 >
Note
This function will not work on a circular list.
The GBBopen Project
dotted-length |