[plt-scheme] error message for case-sensitivity

From: Anton van Straaten (anton at appsolutions.com)
Date: Tue May 25 12:02:13 EDT 2004

Joe Marshall wrote:

> John Clements <clements at brinckerhoff.org> writes:
> > You could go even further with this.  I can imagine a system that would
> > 1) check for similar re-casings of the identifier, and suggested them
> > to the user.
> Don't forget title-case!  And then check against Unicode Normalization
> Forms  NFD, NFKD, NFC, and NFKC,  and then against the locale-specific
> collation and then ...

Don't forget soundex...

All this highlights the point here: it's messy because even with something
as simple as case-insensitivity, we're talking about encoding some arbitrary
human knowledge about natural language, into the core of a programming

Choosing global case-sensitivity as the solution passes the buck to the
human and says "you invented this system, you deal with it".  ;)


Posted on the users mailing list.