chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] case vs. eq? - just curious ....


From: Jim Ursetto
Subject: Re: [Chicken-users] case vs. eq? - just curious ....
Date: Fri, 2 Mar 2012 21:45:09 -0600

On Mar 2, 2012, at 7:57 PM, Matt Welland wrote:

> I'm trying to convert a comparison operator to the equivalent text. These are 
> not symbols. I think case treats the target list as if it was created with a 
> quote: '(>).

That's what case does.

You want `select`: http://api.call-cc.org/doc/chicken/special-forms/select .

> The cond does what I need just fine, I just didn't understand why case didn't 
> also work.

Expand it with ,x and you'll see.

Jim


reply via email to

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