Re: [Chicken-hackers] [PATCH] Fix a regression in body canonicalization
From:
John Cowan
Subject:
Re: [Chicken-hackers] [PATCH] Fix a regression in body canonicalization
Date:
Thu, 27 Apr 2017 12:55:12 -0400
On Thu, Apr 27, 2017 at 12:14 PM, Peter Bex <address@hidden> wrote:
Now, the spec disallows this (I think..),
Yes, it does: begin-with-defines is allowed only at top level. It should be replaced by (let () (define ...) . body) instead. In Algol or C terms, begin is a compound statement, let is a block.