[racket] Problem with case
Hi all,
Can anyone explain why the first function below selects 'x1-case as
expected but the second fails to select 'x2-case? Am I expecting something
to happen that shouldn't?
Thanks,
Kieron.
****
#lang racket
(case 'a
['a 'x1-case]
['b 'x1-case]
[(15 2 3) 'y1-case]
[(10 11 12) 'z1-case])
(case 'a
[('a 'b) 'x2-case]
[(15 2 3) 'y2-case]
[(10 11 12) 'z2-case])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120917/ba5fd7cd/attachment.html>