This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: upper/lower case
- From: Per Bothner <per at bothner dot com>
- To: "Dr. M. Luedde" <Mirko dot Luedde at Computer dot Org>
- Cc: kawa at sources dot redhat dot com
- Date: Sat, 25 May 2002 14:45:59 -0700
- Subject: Re: upper/lower case
- References: <15599.64934.818000.319334@gargle.gargle.HOWL>
Dr. M. Luedde wrote:
> Is [case-sensitive symbols] desired behavior?
Yes, though of course this ia a matter where reasonable people
can disagree. However, there are other Scheme implementation that
are case-sensitive, and since one of Kawa's goal's is integration
with Java, I think it makes most sense.
However. to turn off case-senstivity, you can do:
(set! symbol-read-case 'D)
That causes the Scheme reader to down-case symbols.
(You could also use 'U to up-case symbols, but then
you get into problems with the predefined functions and
macros.)
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/