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.

what is a list designator?

3 posts · 2566 views

Hi,

The hyperdoc for the case macro talks about list designators.
But what is a list designator? Reading the definition in the hyperspec did not help.

I guess I understand what is a string designator: a keyword, a symbol or a string.
But a list designator? The case examples seem to indicate that even a number is a list designator.
I am puzzled.

Re: what is a list designator?

In the glossary is written that with a non-nil atom is dealed like with a singleton (a list of one element). Thereunto if you want to use t or otherwise as a normal-clause you must use the singleton.
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version). Temporary mirrors of aferomentioned: CLHS and a dark version.

Re: what is a list designator?

Thanks, I looked at the section 1.4.1.5 on designators, but the info is indeed in the glossary.