[plt-scheme] Uppercase symbol handling
Hi all,
I usually use everything lowercase by default but I'm reading
xml from the net so some symbol just show up as uppercase. I'm
getting somewhat confused with handling some issues. Can
someone explain the behaviour of the next 2 interactions? (with
module language enabled)
(module test mzscheme
(read-case-sensitive #t)
(define test
(lambda (l)
(if (eq? (car l) 'Item)
(display "OK")
(display "Not OK"))))
(define test1
(lambda (l)
(if (eq? (car l) 'item)
(display "OK")
(display "Not OK"))))
)
> (test '(Item a b c))
Not OK
> (test1 '(Item a b c))
Not OK
Why?
Cheers,
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Engº de Informática e Computadores
INESC-ID - Grupo SAT - MathSAT