[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Bug shadowing syntactic keyword
From: |
felix winkelmann |
Subject: |
Re: [Chicken-hackers] Bug shadowing syntactic keyword |
Date: |
Thu, 23 Jul 2009 17:45:58 +0200 |
On Tue, Jul 21, 2009 at 8:56 AM, Thomas Bushnell BSG<address@hidden> wrote:
>
> But if we try "begin" as the formal, it fails interestingly:
> ((lambda (begin) (begin 1 2 3)) (lambda args args))
> => ((1 2 3))
>
> And if we try "define" as the formal, we get a spinning infinite loop of
> some kind:
> ((lambda (define) (define 1 2 3)) (lambda args args))
> => never returns
>
> According to the original discussion on comp.lang.scheme,
> http://groups.google.com/group/comp.lang.scheme/browse_thread/thread/aa08b93833a46d42/12dfe69784665076?#12dfe69784665076,
> MzScheme, Chez Scheme, and Kawa Scheme get this right, but MIT Scheme
> got it wrong back then. I can confirm that scm (and guile) get it
> right. It is a shame that Chicken gets it wrong!
This has been fixed a short while ago. Both examples should work with the
current svn trunk, or the release candidate.
cheers,
felix