[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: a new proposal for environments
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 26 Feb 2010 15:22:27 +0200
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.