lilypond-user
[Top][All Lists]
Advanced

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

Re: SVG export - how might you add classes for all graphical objects?


From: Jean Abou Samra
Subject: Re: SVG export - how might you add classes for all graphical objects?
Date: Tue, 29 Jun 2021 23:44:50 +0200 (CEST)

> Le 29/06/2021 23:42, Jean Abou Samra <jean@abou-samra.fr> a écrit :
> 
> That being said, I'm not sure I would want to see something
> along the lines of publicizing nested_property_alist. We already
> use ly:assoc-get nearly everywhere (through the alias assoc-get),
> and while more convenient thanks to the optional default value
> parameter, it is not as efficient as assq-ref when, as is often
> the case, the keys are symbols, which can be cheaply compared
> with eq?. My concern is that code may then be written that
> copies the data n times if doing n insertions instead of just
> working on a copy made once. So this would warrant some thinking
> and perhaps a structure of our own. The challenge will be in
> trying to make it work more or less seamlessly with standard
> Guile libraries.


And of course I forgot to say what had triggered the reply in
the first place: I think it would be more useful to support
callbacks for subproperties.

Jean



reply via email to

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