Case insensitivity
Bjorn Pettersen
BPettersen at NAREX.com
Fri Jul 20 18:11:45 EDT 2001
> From: François Pinard [mailto:pinard at iro.umontreal.ca]
>
> [Guido van Rossum]
>
> > TeachScheme is an interesting case -- Scheme is a case-sensitive
> > language, but in "beginner mode", TeachScheme is
> case-insensitive. I
>
> Did it change recently? I thought Scheme was
> case-insensitive. An idiom I
> saw a few times in Scheme code, written by other people, is
> writing `lambda'
> or `cdr' when you mean what it means, and `LAMBDA' and `CDR'
> when you are
> quoting the same, for example when you write code which produces code.
You're correct:
"Upper and lower case forms of a letter are never distinguished
except within character and string constants. For example, Foo
is the same identifier as FOO, and #x1AB is the same number as
#X1ab."
http://www.cs.indiana.edu/scheme-repository/R4RS/r4rs_4.html
-- bjorn
More information about the Python-list
mailing list