help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [External] : How to create a higher order function?


From: Emanuel Berg
Subject: Re: [External] : How to create a higher order function?
Date: Sun, 26 Sep 2021 01:48:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Marcin Borkowski wrote:

>>> RMS's arguments are specifically for users of an editing
>>> environment such as Emacs. They go beyond the general
>>> arguments for providing dynamic binding (in addition to
>>> lexical) in Lisp.
>>
>> Again, if it is the options argument I agree that's a good
>> method to do it however I would formulate that as "we
>> implement options by way of global variables", I don't see
>> how dynamic/special vs static/lexical really applies?
>
> IIUC, if these (global) variables were lexically bound, the
> whole idea wouldn't work.

Global variables are present in many languages that do not
mention dynamic/special vs static/lexical.

> Global/local has nothing to do with it.

If they were local, how would people set them? Also if they
were local, how would developers add e.g. another function
that used them?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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