[r6rs-discuss] [Formal] Scheme should not be changed to be casesensitive.

From: Jos Koot <jos.koot>
Date: Tue Nov 14 14:16:28 2006

I for one strongly recommend that PLT maintains is case sensitivity/insensitivity option in the preference menu. That is to say: PLT provides both case sensitivity and case insensitivity.
Jos Koot

((((lambda(x)((((((x x)x)x)x)x)x))
   (lambda(x)(lambda(y)(x(x y)))))
  (lambda(x)(write x)x))
 "greetings, Jos")
  ----- Original Message -----
  From: Eli Barzilay
  To: Per Bothner
  Cc: r6rs-discuss_at_lists.r6rs.org ; formal-comment_at_r6rs.org
  Sent: Tuesday, November 14, 2006 8:08 PM
  Subject: Re: [r6rs-discuss] [Formal] Scheme should not be changed to be casesensitive.


  On Nov 14, Per Bothner wrote:
> Arthur A.Gleckler wrote:
> > In <3.2. Lexical syntax>: Scheme should not be case sensitive.
> > After thirty years, what new argument came up to justify this
> > change?
>
> One is compatibility with XML: anyone who want to use Scheme symbols
> to represent XML element and attribute names will want
> case-sensitive names. (Of course mapping namespace-aware XML to
> Scheme symbols is trickier. One solution is to support some version
> of two-level names, as Common Lisp does. Kawa does a variant of
> this.)
>
> Another reason is is to bind to named "things" in case-sensitive
> languages. I.e. a "foreign function interface". For example I
> might want to call a method in Java, C#, or C++, all of which are
> case-sensitive.

  Both of these points can be generalized as any kind of interactions
  with the world outside of Scheme, where case sensitivity is far more
  common.

  Another argument is the mess that is unicode, with some exotic rules
  for things like capitalization.

  [And another (personal) argument is the bias of enforcing equality
  between things that are different in Cultures Other Than Mine. IMO,
  if case-insensitivity is the right choice, then ASCII would be
  different.]


> > This means that years of tradition of writing quoted symbols in upper case
> > in macros for clarity will end
>
> I never heard of this tradition. Seems like a confusing convention.

  I did hear about it. I agree that it's a confusing, and bad
  practice. The single-bit dimension of capitals-or-lower is something
  that is to restriced for practical use. For example, I've seen Lisp
  code where capitals where used for definitions, so you get:

    (defun FOO ...)
    (foo ...)


> I for one strongly support case sensitive symbols.

  +1

  --
            ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
                    http://www.barzilay.org/ Maze is Life!

  _______________________________________________
  r6rs-discuss mailing list
  r6rs-discuss_at_lists.r6rs.org
  http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r6rs.org/pipermail/r6rs-discuss/attachments/20061114/fe014df5/attachment.html
Received on Tue Nov 14 2006 - 14:16:07 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC