This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

simple question

2 posts · 4290 views

Hi,

I have maybe 1 day of scheme/lisp experience, and glad I found this forum.

I have a simple question.

Ok I know theres a null for detecting an empty list. However I have no idea how to find how many elements in a list. ie: (a) would return 1. Is there like a count function?

Thanks.

Re: simple question

This function is called "length" in both Common Lisp and Scheme.