[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Add unexport form for modules (updated for chi
From: |
megane |
Subject: |
[Chicken-hackers] [PATCH] Add unexport form for modules (updated for chicken 5) |
Date: |
Thu, 13 Jul 2017 13:17:37 +0300 |
User-agent: |
mu4e 0.9.18; emacs 24.4.1 |
Hi,
here's an updated version of the unexport patch for chicken 5.
There were a couple of changes related to renamed identifiers and the
new 'library' slot for the module record.
Tested with the 5.0.0pre1 tarball.
Here's the copy-pasted description from the previous patch:
The implementation is pretty straightforward. A new slot, called
module-unexport-list, is added to the module record. Unexport adds
identifiers to this list if the module export list is *. In
##sys#finalize-module all identifiers about to be added to syntax-exports or
variable-exports are dropped if they are found in module-unexport-list.
Export form also drops identifiers from the unexport list.
If the module export list is not *, module-unexport-list is not used. In
this case, it's enough to just remove the identifier to be unexported
from the module-export-list.
module-unexport-syntax-for-5.patch
Description: patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] [PATCH] Add unexport form for modules (updated for chicken 5),
megane <=