lua-users home
lua-l archive

Re: setfenv/getfenv

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2010年01月12日, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> > I do not know what do you mean by "different approach to their problem".
>
>
> For instance to use a proxy table as the environment (as suggested in
> the list).
>
> -- Roberto
Proxy tables would bring in dynamic scoping through a back door. Also
proxy tables do not provide the same degree of isolation and
compartmentalization as fenv.
--Leo--

AltStyle によって変換されたページ (->オリジナル) /