[Chicken-users] Unbound = in cond statements

2014-10-17 Thread Michele La Monaca
Hi, curiously: (cond (1 = odd?)) Error: unbound variable: = while (cond (+ = procedure?)) #t The only difference I can spot is that 1 is self-evaluating while + is not. Anyhow, it doesn't look good to me. Regards, Michele ___ Chicken-users

[Chicken-users] [PATCH] Fix cond behaviour of = with constant condition [Was: Re: Unbound = in cond statements]

2014-10-17 Thread Peter Bex
On Fri, Oct 17, 2014 at 07:44:27PM +0200, Michele La Monaca wrote: Hi, curiously: (cond (1 = odd?)) Error: unbound variable: = while (cond (+ = procedure?)) #t The only difference I can spot is that 1 is self-evaluating while + is not. Anyhow, it doesn't look good to me.

Re: [Chicken-users] [Chicken-hackers] [PATCH] Fix cond behaviour of = with constant condition [Was: Re: Unbound = in cond statements]

2014-10-17 Thread Evan Hanson
On 2014-10-17 20:48, Peter Bex wrote: On Fri, Oct 17, 2014 at 07:44:27PM +0200, Michele La Monaca wrote: (cond (1 = odd?)) The attached patch fixes it. Pushed. Thanks very much Michele, Peter. Evan ___ Chicken-users mailing list