length -- r7rs Definition procedure;
Procedure variants:
((null) -> (range-length-zero))
null;range-length-zero;((list-proper-not-null) -> (range-length-not-zero))
list-proper-not-null;range-length-not-zero;scheme:base -- (scheme base);scheme -- (scheme);(length list)Returns the length of
list.(length '(a b c)) ===> 3 (length '(a (b) (c d e))) ===> 3 (length '()) ===> 0
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.