[gambit-list] Confused

Felix felix at call-with-current-continuation.org
Sun Oct 24 14:58:14 EDT 2010


From: Marc Feeley <feeley at iro.umontreal.ca>
Subject: Re: [gambit-list] Confused
Date: Sun, 24 Oct 2010 08:37:27 -0400

> 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

Chicken treats assignment and lexical binding differently
in this context (and I'm not completely sure if R5RS requires
this behaviour). The example posted originally should
be handled hygienically in chicken, in any case.


cheers,
felix



More information about the Gambit-list mailing list