chicken-users
[Top][All Lists]
Advanced

[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!

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



reply via email to

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