[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Change how unbound variables are checked
From: |
lemonboy |
Subject: |
[Chicken-hackers] [PATCH] Change how unbound variables are checked |
Date: |
Thu, 28 Apr 2016 11:48:08 +0200 |
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
- [Chicken-hackers] [PATCH] Change how unbound variables are checked,
lemonboy <=