[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
string comparison vs. char comparison
From: |
Sven . Hartrumpf |
Subject: |
string comparison vs. char comparison |
Date: |
Tue, 21 Feb 2006 12:18:49 +0100 (CET) |
R5RS:
"string<? is the lexicographic ordering on strings induced
by the ordering char<? on characters."
(Guile reference 5.5.5.7 conforms to this statement.)
Standard guile 1.8.0 differs from this specification
for Latin-1 characters:
> guile180 -q
guile> (string<? "s" "ß")
#f
guile> (char<? #\s #\ß)
#t
guile>
Greetings
Sven
pgpaonVzIBNlS.pgp
Description: PGP signature
- string comparison vs. char comparison,
Sven . Hartrumpf <=