[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: a new proposal for environments
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 26 Feb 2010 10:24:44 -0300
> On Fri, Feb 26, 2010 at 3:18 PM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
> >> In some cases (metaprogramming comes to mind), it could be useful to
> >> make the lexical scope (hence the current environment in 5.2)
> >> available to the evaluated string too.
> >>
> >> Something like loadin(1,"some code")
> >
> > loadin(_ENV,"some code")
>
> Ah, but would that include the _lexical_ environment, i.e the locals
> as well? I thought not.
No, not the locals. _ENV is the environment but not the _lexical_ environment.
Sorry for the noise.