emacs-devel
[Top][All Lists]
Advanced

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

Re: A prototype for a binding based approach to proper namespaces


From: Andrea Corallo
Subject: Re: A prototype for a binding based approach to proper namespaces
Date: Sun, 10 May 2020 08:24:36 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Vladimir Sedach <address@hidden> writes:

>> Now, I think when compiling would a fair assumtion that libraries (B and
>> C here) never unimport and redefine variables or functions.  With this
>> assumptoon should be very easy to compile out all intermediate
>> indirections (bindings) except the last 'effective' one.
>
> Why would you need the extra redirection? If you resolve the chain at
> compile-time, it should be the same as calling a function defined
> with flet.

E function defined with flet is in the lexical scope, here we are
talking about global variables.

Anyway an indirection more respect of what we have now is not needed, I
corrected myself here:

https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01305.html

  Andrea

-- 
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]