[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] another egg

From: dan
Subject: Re: [Chicken-users] another egg
Date: Mon, 04 Jan 2016 16:07:07 -0500
User-agent: Roundcube Webmail/1.0.6

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!


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]