[Chicken-hackers] [PATCH] Change how unbound variables are checked for

2016-04-28 Thread Evan Hanson
From: LemonBoy The previous method checks if the object 'x' we want to check is equal to the value contained in the first slot of a symbol that's supposed to always be undefined. This patch replaces the code above with the use of the C_boundp and C_unboundvaluep macros with no functional effect.

Re: [Chicken-hackers] [PATCH] Change how unbound variables are checked for

2016-04-28 Thread Evan Hanson
Looks good to me, here's a signed-off copy. Cheers, Evan ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Re: [Chicken-hackers] [PATCH] Change how unbound variables are checked

2016-04-28 Thread lemonboy
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 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 > inl

[Chicken-hackers] [PATCH] Change how unbound variables are checked

2016-04-28 Thread lemonboy
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#ar