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]

case behaviour


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


thanks!

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]