Re: Deprecating setfenv()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Deprecating setfenv()
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 9 Jan 2010 21:39:03 -0200
> function evaluate_in(env,f,...)
> in env do
> return f(...)
> end
> end
>
> Maybe i didn't get the use case cuz this seems too trivial.
In the code above, the "in env do" block is useless because the block
contains *no* global names that need to be resolved. (f is a local var in
evaluate_in.)