I had checked with 4.1.0 but I now built 4.6.0 and get the same behavior as 4.1.0:
% ./csi
CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.6.0 macosx-unix-gnu-x86 [ manyargs dload ptables ] compiled 2010-10-13 on macro.local (Darwin)
#;1> (define else #f) #;2> (cond (else 123)) 123 #;3> ^D % mzscheme Welcome to MzScheme v4.2 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.
(define else #f) (cond (else 123)) ^D
%
Marc
On 2010-10-18, at 5:41 AM, felix winkelmann wrote:
Marc Feeley <feeley <at> iro.umontreal.ca> writes:
It is because "else" is a special keyword that is searched at the head of a
clause. Rebinding "else" will not
change the search. Should it?
I checked and Bigloo and Chicken behave the same as Gambit, but MzScheme doesn't.
What chicken version did you try?
cheers, felix
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list