[mercury-users] Character type class

Michael Day mcda at students.cs.mu.oz.au
Mon Jan 31 14:05:15 AEDT 2000


> 	What do people want to see in a character type class?
> 		- comparisons and orderings with respect to locale

<very informative snip>

> Provide locale-dependent *string* ordering (the ISO draft standard I
> mentioned above has several recommended interfaces)

So, the only sensible way to relate two characters is by their position in
the code table, ignoring any locale information? That seems quite
reasonable. Perhaps offer two varieties of string comparison, one that
respects locale and one that does a faster comparison purely by character
code, for use when building tree based maps of strings or similar?

Michael
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list