Opened 3 weeks ago

#1383 new enhancement

Add unexport form for modules

Reported by: evhan Owned by:
Priority: minor Milestone: someday
Component: compiler Version: 5.0
Keywords: modules Cc:
Estimated difficulty: medium

Description

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 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 chicken-hackers, but it will need to be updated to apply to chicken-5.

Change History (0)

Note: See TracTickets for help on using tickets.