[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
:1
- To: KMP@stony-brook.scrc.symbolics.com
- Subject: :1
- From: gls@Think.COM
- Date: Tue, 20 Oct 87 16:23:07 EDT
- Cc: CL-Cleanup@sail.stanford.edu, KMP@stony-brook.scrc.symbolics.com
- In-reply-to: Kent M Pitman's message of Tue, 20 Oct 87 15:08 EDT <871020150857.2.KMP@RIO-DE-JANEIRO.SCRC.Symbolics.COM>
Date: Tue, 20 Oct 87 15:08 EDT
From: Kent M Pitman <KMP@stony-brook.scrc.symbolics.com>
Does anyone have an unambiguous reference to a passage that claims
that the syntax ``:1'' denotes a symbol? In the 3600 implementation,
it's a number and I've heard people claim that this is a bug, but
I just looked and could not find any text which convinced me of this.
If no one can convince me, I'll write up a cleanup item.
See pages 343-344:
"If there is a single package marker, and it occurs at the beginning of the
token, then the token is interpreted as a keyword, that is, a symbol in the
:keyword package. The part of the token after the package marker must not
have the syntax of a number."
[Unfortunately this leaves the question of potential numbers vague at best.]
"All other patterns of package markers ... presently do not mean anything
in Common Lisp.... It is therefore an error to use such patterns in a
Common Lisp program. The valid patterns for tokens may be summarized as
follows:
nnnnn ...
xxxxx ...
:xxxxx ...
ppppp:xxxxx ...
ppppp::xxxxx ...
where nnnnn has the syntax of a number, and xxxxx and ppppp do not have the
syntax of a number."
So the token ":1" is an error and may be given any interpretation by
an implementation.
--Guy
- Follow-Ups:
- :1
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- References:
- :1
- From: Kent M Pitman <KMP@STONY-BROOK.SCRC.Symbolics.COM>
- Prev by Date:
Re: :1
- Next by Date:
:1
- Previous by thread:
:1
- Next by thread:
:1
- Index(es):