[email protected] scripsit:

>     #;2> (case 'a
>       (('a) 1)
>       (('b) 2)
>       (else #f))
>     #f

However, (case x ('a 1) ('b 2) (else #f)) will sort of work (one fewer
set of parens), because 'a is (quote a), a list of symbols.  So if x is
'quote or 'a, you get 1; if it's 'b, you get 2, otherwise you get #f.

-- 
John Cowan          http://www.ccil.org/~cowan        [email protected]
Dream projects long deferred usually bite the wax tadpole.
        --James Lileks

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to