chicken-users
[Top][All Lists]
Advanced

[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


From: Robin Lee Powell
Subject: Re: [Chicken-users] I seem to not understand something about scope in Scheme/Chicken...
Date: Tue, 25 Dec 2007 15:53:15 -0800
User-agent: Mutt/1.5.17 (2007-11-01)

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.

-Robin

-- 
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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]