[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the discussion so far

This page is part of the web mail archives of SRFI 75 from before July 7th, 2015. The new archives for SRFI 75 contain all messages, not just those from before July 7th, 2015.



Jorgen Schaefer scripsit:

> How would you implement and use STRING=? ?

The same way I use String.equals in Java; a fast universal identity check,
which may be supplemented with more complex definitions as and when
required.

It's important to note the rather subtle definition of "canonical equivalence"
in Unicode.  It's not the case that if two strings are canonically equivalent,
a Unicode-compliant process MUST treat them identically.  Rather, a Unicode-
compliant process MAUST NOT assume that another Unicode-compliant process
will treat them differently.

-- 
John Cowan  jcowan@xxxxxxxxxxxxxxxxx  www.reutershealth.com  www.ccil.org/~cowan
If a soldier is asked why he kills people who have done him no harm, or a
terrorist why he kills innocent people with his bombs, they can always
reply that war has been declared, and there are no innocent people in an
enemy country in wartime.  The answer is psychotic, but it is the answer
that humanity has given to every act of aggression in history.  --Northrop Frye