[gambit-list] As far as the renaming scheme goes, ...

Dimitris Vyzovitis vyzo at media.mit.edu
Tue Mar 18 13:41:14 EDT 2008


On Tue, 18 Mar 2008, Ken Dickey wrote:

> > Dimitris Vyzovitis wrote:
> ...
> > One of the problems I have with these systems (including the modules
> > produced by the orignal portable syntax-case) is that they produce mutable
> > bindings for module/library exported identifiers.
>
> Note that R6RS library bindings are immutable.

Are they?
I wasn't refering to apparent immutability (as in client code can't set!
them), but to real immutability in the generated code.
For instance, in ghuloum's libraries you get something like this:
http://bazaar.launchpad.net/~aghuloum/r6rs-libraries/r6rs-libraries.dev/annotate/aghuloum%40adsl-75-19-178-101.dsl.bltnin.sbcglobal.net-20071103173443-tv9vha6q2fjmeuss?file_id=psyntaxgambit.pp-20071008043029-kj3e2zmh52xhu69f-27

notice that it is littered with (define foo #f) ... (set! foo <real-foo>)

-- vyzo




More information about the Gambit-list mailing list