bug-guile
[Top][All Lists]
Advanced

[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

Attachment: pgpaonVzIBNlS.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]