This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: variable binding
- To: Marius Vollmer <mvo at zagadka dot ping dot de>
- Subject: Re: variable binding
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 24 Aug 2000 21:37:06 +0200
- Cc: djurfeldt at nada dot kth dot se, Keisuke Nishida <kxn30 at po dot cwru dot edu>, guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <m3lmxn9rvi.fsf@indy.STUDENT.CWRU.Edu><xy7snrufuzn.fsf@mdj.nada.kth.se> <8766oqwm2u.fsf@zagadka.ping.de>
- Reply-To: djurfeldt at nada dot kth dot se
Marius Vollmer <mvo@zagadka.ping.de> writes:
> 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.
Yes. I should have clarified this in my response.
Dirk is right now sorting out the details of this.