Hi all, Here's a patch that adds a "chicken.module" module according to some of the discussion in the "Add unexport form to modules" thread, and from the "undecided" section of c-l-r (which already proposed a lot of the same changes, in fact).
The library is syntax-only and contains CHICKEN's "module language" (well, most of it -- it doesn't include `functor` or `define-interface` quite yet). It's actually a pretty small change, mostly just reshuffling things in expand and capturing the macro environment at the right time. One thing to note is that this module includes `import` and its variants, which are already part of the "empty" environment. So, in a sense, including these forms in this module is redundant, but it's also harmless and doing so simplifies the implementation. It's also arguably more correct this way, since importing chicken.module will shadow any alternative version of `import` that's been imported or defined, which is what we want, I think. Cheers, Evan _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
