Subject: Re: About ''"CooL": low-level macros considered useful
From: (Rob Warnock)
Date: 9 Apr 2001 09:22:32 GMT
Newsgroups: comp.lang.scheme
Message-ID: <9arv0o$8h4ar$>
Kirill Lisovsky  <> wrote:
| I think that case-sensitive Schemes provide most natural solution
| possible.

Actually, rather than be forced to choose one or the other exclusively,
I kinda like the way MzScheme handles it, with a "parameter" that can be
set or cleared as desired, e.g.:

	> (begin
	    (define foo (read))
	    (define bar
	      (parameterize ((read-case-sensitive #t)) ; sorta like fluid-let
	    (define baz (read)))
	FooFoo BarBar BazBaz	; hand-typed input
	> (list foo bar baz)
	(foofoo BarBar bazbaz)

MzScheme's parameters are thread-specific, so that if you're writing a
multi-threaded app (e.g., a web server or other multi-user interaction)
you can tailor case sensitivity without inter-thread interference.


Rob Warnock, 31-2-510
SGI Network Engineering		<URL:>
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA