[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Change how unbound variables are checked
From: |
lemonboy |
Subject: |
Re: [Chicken-hackers] [PATCH] Change how unbound variables are checked |
Date: |
Thu, 28 Apr 2016 15:12:31 +0200 |
I've updated the patch to remove some unused functions captured in the
'compile-to-closure'.
LemonBoy
On 28 April 2016 at 11:48, lemonboy <address@hidden> wrote:
> Hello,
> This patch provides no functional changes and it just cleans up the
> way chicken checks whether a variable is undefined by using some
> inline macros that were already present but not used. The test suite
> shows no problem with this change and as an added feature you're now
> free to set! ##sys#arbitrary-unbound-symbol :^)
>
> I wasn't 100% sure if the ##core#inline should be wrapped in a
> predicate nor about where to define it or how to name it (the
> ##-prefixed namespaces are going away ?) so I just went for the least
> invasive solution.
>
> The attached patch is against the chicken-5 branch, I could rebase and
> adjust it for the -4 branch too if needed.
>
> Cheers,
> LemonBoy
0001-Change-how-unbound-variables-are-checked-for.patch
Description: Text Data