Closed jwtowner closed 10 years ago
Actually, the bug is not about exporting imported identifiers; it's in importing the same module more than once but with different qualifiers (once & prefix, in this case). I pushed the fix.
Thanks for the clarification, and thank you for the fix, it's working for me now!
The next problem I've run into is exporting identifiers from an R7RS library definition that have been imported into it from another module. I'm wrapping some procedures/macros so that I provide a common portable interface to the rest of my codebase. One of the things I'm abstracting here are hash tables, that way I have a subset of the interface that matches the upcoming R7RS-large specification (pretty close to R6RS/SRFI 69).
Unfortunately, being able to forward identifiers via the export list seems to be broken in Gauche, whereas it works in both Chibi and Chicken Scheme implementations when running in R7RS mode. Here's how to reproduce the problem:
testlib.scm
Then I run gosh, load and import the library, and try to use the exported procedures. Here's what happens:
hash-table?
should be bound to the hash-table? procedure imported from (gauche base) inside of (testlib).