[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] I seem to not understand something about scope in Sc
Robin Lee Powell
Re: [Chicken-users] I seem to not understand something about scope in Scheme/Chicken...
Tue, 25 Dec 2007 15:53:15 -0800
On Tue, Dec 25, 2007 at 03:02:27PM -0800, Robin Lee Powell wrote:
> Can someone explain to me what's going on in
> http://paste.lisp.org/display/53038 ? I can't think of any reason
> why a define in a recursive call would corrupt the calling
> function's value for a variable, but having it happen IFF the
> define is in a (cond...) seems Really Really Wierd.
http://paste.lisp.org/display/53038#4 is rather simplified, if that
helps. Apparently PLT Scheme behaves the same way.
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/