Closed mnieper closed 7 years ago
Thank you for reporting that. The run
keyword probably has this same problem.
In Larceny v0.98, a library cannot define and export any of the following identifiers: for
, run
, expand
, meta
.
To my surprise, that bug seems to have disappeared in the current development version of Larceny. I don't understand why it disappeared, and will keep this ticket open for a while to remind me of the mystery.
I now see I made the bug disappear by making a temporary change in my working directory that caused other bugs. What I need to do is to remove those reserved words from R7RS define-library
contexts while keeping them in R6RS library
contexts, which is slightly tricky.
Mostly fixed by changeset 30b2960d842c9a017d34717c0560156085ea23e9
Libraries can now define and export for
, run
, expand
, and meta
, but still cannot define or export program
or primitives
(or export
etc, but that's less serious).
With the partial fix, I'm downgrading this ticket's priority and will probably change the milestone eventually.
Fixed by changeset 582c6082f1bbdfadc29d61e9848037d837b01d63
By R7RS, ‘expand’ is not exported by ’(scheme base)’. However: