Which is: you should NOT quote the symbols in `case` (here 'a and 'b) in
case if you want to compare <x> to those symbol.

not the first obviously broken code I've had 'work' in
CHICKEN 4.10. Starting to think I'm losing it!

FWIW,

    #;1> (chicken-version)
    "4.10.1"
    #;2> (case 'a
      (('a) 1)
      (('b) 2)
      (else #f))
    #f
    #;3> (case 'a
      ((a) 1)
      ((b) 2)
      (else #f))
    1
    #;4>

-Dan

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to