This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: variable binding


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> This is not defined by R5RS.  I think the safest and most useful
> behaviour is if `define' always "begins" with creating a new binding
> in the local module, and then behaves as specified in R5RS, i.e., as
> `set!'.

However, when `define' creates the new binding in the local module,
all previously memoized bindings should be invalidated and forced to
be re-looked-up.  Jim's environment proposal has hooks for this, I
believe.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]