kawa-commonlisp-dev
[Top][All Lists]
Advanced

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

Re: [Kawa-commonlisp-dev] Lambda case distinction


From: Per Bothner
Subject: Re: [Kawa-commonlisp-dev] Lambda case distinction
Date: Sun, 30 Dec 2012 14:54:50 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/30/2012 05:04 AM, Charles Turner wrote:
The handling of the lambda symbol in commonlisp/lang/function.java is
suspicious. The following is just to avoid problems with the CL reader
as it "upcases" symbol names, so the check fails. Might be better to
look lambda up in the function namespace instead

Presumably you mean "look lambda up in the common-lisp package".
We need to compare symbols, not bindings.

and then do a symbol
comparison, but I assumed there would be a good reason for the string
comparison in the first place.

Not that I can think - it might have been an expediency.
Comparing against common-lisp:lambda seems the right thing.
--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]