[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

:1



   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