[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: modules and locals
- From: Jonathan Castello <twisolar@...>
- Date: Mon, 23 Aug 2010 15:24:54 -0700
On Mon, Aug 23, 2010 at 3:19 PM, Andreas Matthias
<andreas.matthias@gmail.com> wrote:
> These two `bar's seem not to be the same. Why?
Using 'local' again defines a new local with the same name,
effectively shadowing the previous one. The first one isn't affected,
but it can't be accessed directly except by closures defined while it
was in scope.
~Jonathan