[Openmcl-devel] "potential numbers" as symbol names
helink at sandia.gov
Wed Apr 20 14:34:22 EDT 2005
And actually 22.214.171.124 and 126.96.36.199.1 are better references.
In it is included this gem: "If a potential number has number syntax,
a number of the appropriate type is constructed and returned..."
and 188.8.131.52.1 says that escaped characters in an otherwise potential
number MUST prevent it from being a potential number, so this trick
will always work.
On Apr 20, 2005, at 12:21 PM, Hamilton Link wrote:
> The token 3 is a potential number and as far as I can tell shouldn't
> be a legit symbol. If the 3 is escaped, then it becomes the legit
> symbol \3. In fact openmcl does accept :\3 as a keyword.
> See 2.3.4 "Symbols as Tokens" in the hyperspec.
> On Apr 19, 2005, at 10:05 PM, bryan o'connor wrote:
>> kmr's new cl-photo package loses on openmcl because it
>> wants to use some "potential number" symbols in the
>> keyword package.
>> ? :3
>> > Error in process listener(1): Reader error: Illegal symbol syntax.
>> > While executing: CCL::%PARSE-TOKEN
>> assuming that :3 and package::3 are both valid things,
>> the patch below will allow them.
>> i'm having problem accessing the cvs server, so this
>> patch is diff'd against an emacs backup file. it might
>> not apply cleanly.
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel