Re: A plan for moving away from pure/unpure et al

Han-Wen Nienhuys <[email protected]> Fri, 5 Jun 2026 09:50:29 +0200
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <CAOw_e7ZTioyV18+x5CKEBQH+A_MEzQYD8BmOkNAHkW7T36YXCQ@mail.gmail.com>
On Fri, Jun 5, 2026 at 12:42 AM David Kastrup <[email protected]> wrote:

>
> "Pure" calls in the LilyPond backend produce grob properties dependent
> on line break decisions.  Consequently the calls get passed "start" and
> "end" arguments denoting the current line's starting and ending musical
> columns (numbered sequentially from the start of the score).
>
> To make the calls more compatible, in a first step the arguments
>


What is the underlying problem you want to solve?

AFAIK, dynamic scoping has widely been considered a mistake, because it
breaks encapsulation boundaries, making it harder to reason about programs.
Why would we want to introduce that?

-- 
Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen