[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Deprecating setfenv()
- From: Miles Bader <miles@...>
- Date: Sun, 10 Jan 2010 08:56:08 +0900
Cosmin Apreutesei <cosmin.apreutesei@gmail.com> writes:
> 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.
That's not how "in ENV" works though -- its effect is purely lexical, so
won't apply to the body of f in this case.
-Miles
--
Faith, n. Belief without evidence in what is told by one who speaks without
knowledge, of things without parallel.