[r6rs-discuss] Scheme should not be changed to be case sensitive

From: Per Bothner <per>
Date: Thu Nov 16 02:53:40 2006

Chris Hanson wrote:
> I have two suggestions for a notation. The one I prefer is a pair of
> reader tokens #!fold-case and #!no-fold-case which cause the reader to
> change its interning mode.

I take it these tokens work like comments or whitespace, but with a
side-effect of changing the reader state?

What is the scope if the state change? The current invocation of read,
or the entire file? The latter would be nicer, and more likely to be
what people except. However, it means that the case-fold state would
have to be stored in the input-port, rather than the reader.
-- 
	--Per Bothner
per_at_bothner.com   http://per.bothner.com/
Received on Thu Nov 16 2006 - 02:54:37 UTC

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