This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Charles Duffy wrote:
The case conditional uses eqv? for testing, which will only be true for strings if they are the same object (eq?), not simply equivalent.I'm somewhat confused at the behaviour of case in kawa. Might someone be so kind as to explain the following behaviour, and perhaps suggest a workaround? (let ((foo (as <string> "quux"))) (case foo (("quux") "good") (else "bad"))) => good (let ((foo (make <string> "quux"))) (case foo (("quux") "good") (else "bad"))) => bad
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |