[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1383: Add unexport form for modules
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1383: Add unexport form for modules |
Date: |
Tue, 04 Jul 2017 10:44:04 -0000 |
#1383: Add unexport form for modules
-------------------------+--------------------------------
Reporter: evhan | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: someday
Component: compiler | Version: 5.0
Keywords: modules | Estimated difficulty: medium
-------------------------+--------------------------------
An "unexport" form for modules would be useful. For example, this would
only export the identifier "b":
{{{
(module m1 *
(import chicken scheme)
(define a 1)
(define b 2)
(unexport a))
}}}
This idea came out of #1376 and [http://lists.nongnu.org/archive/html
/chicken-hackers/2017-06/msg00012.html associated discussions] on the
mailing list. This would be a counterpart to "export", used to adjust the
export list of a module from within its body.
megane has posted a patch on [http://lists.nongnu.org/archive/html
/chicken-hackers/2017-06/msg00027.html chicken-hackers], but it will need
to be updated to apply to chicken-5.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1383>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #1383: Add unexport form for modules,
Chicken Trac <=