case mappings
Alex Shinn
(13 Jul 2005 03:57 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(13 Jul 2005 05:49 UTC)
|
Re: case mappings
Michael Sperber
(13 Jul 2005 06:41 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(13 Jul 2005 06:47 UTC)
|
Re: case mappings Michael Sperber (13 Jul 2005 07:12 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(13 Jul 2005 07:21 UTC)
|
Re: case mappings
bear
(13 Jul 2005 17:24 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(13 Jul 2005 19:35 UTC)
|
Re: case mappings
Alex Shinn
(13 Jul 2005 07:55 UTC)
|
Re: case mappings
Alex Shinn
(13 Jul 2005 07:40 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(13 Jul 2005 19:36 UTC)
|
Re: case mappings
Alex Shinn
(14 Jul 2005 02:39 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(14 Jul 2005 07:15 UTC)
|
Re: case mappings
Alex Shinn
(14 Jul 2005 07:42 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(14 Jul 2005 08:07 UTC)
|
Re: case mappings
Alex Shinn
(14 Jul 2005 08:24 UTC)
|
Re: case mappings
bear
(14 Jul 2005 16:47 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(14 Jul 2005 20:29 UTC)
|
Re: case mappings
bear
(15 Jul 2005 18:23 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(15 Jul 2005 19:52 UTC)
|
Re: case mappings
Matthew Flatt
(13 Jul 2005 13:05 UTC)
|
Re: case mappings
Thomas Bushnell BSG
(13 Jul 2005 19:39 UTC)
|
Re: case mappings
Alex Shinn
(14 Jul 2005 02:31 UTC)
|
Thomas Bushnell BSG <xxxxxx@becket.net> writes: > Michael Sperber <xxxxxx@informatik.uni-tuebingen.de> writes: > >> For my applications, the case mappings defined in the draft are plenty >> useful---they're sure useful well beyond ASCII. Restricting them to >> ASCII would make them very significantly less useful to me. (What >> with me being a German an all. And BTW, no, the eszet issue is not >> usually a problem in practice---it sure doesn't keep the case mappings >> from being useful.) > > Your applications are useful *for German* maybe.... but that doesn't > mean that the code you write, thinking only of your case, will work > where the locale is different and more serious problems arise. I have expressed myself poorly: If I want my code to behave in a locale-specific way, then I'll use procedures that respect locale. Ditto for full string-to-string case-mapping in a locale-independent manner. In other words, I need to indicate in my source code what I want. Sometimes I want exactly the case mapping the current SRFI draft has---I *don't* want any of the others. > You are quite right that this is a hard problem. [...] > Case mapping is not a character-to-character function, it is a > string-to-string function. > > Once you learn that, everything else becomes trivial. I don't know what you think will become trivial. Not much I can think of. Even implementing the UnicodeDate.txt case mappings is not trivial to do efficiently---which is why we'll provide a reference implementation for those pretty soon. > Scheme has a system for numeric procedures that works automagically > for systems that want really fancy stuff. You're talking to the wrong person here: The fanciness in the R5RS arithmetic often does the wrong thing. Which is why people need to be able to indicate what they want. So this is a pretty good parallel to the case mapping. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla