Re: Deprecating setfenv()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Deprecating setfenv()
- From: Cosmin Apreutesei <cosmin.apreutesei@...>
- Date: 2010年1月10日 01:04:26 +0200
> But not _all things_. I'm thinking of Leo's use-case, where he has one
> function which he wants to evaluate efficiently for a lot of different
> contexts.
Something like:
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.