[Top][All Lists]

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

Re: [Lilypond-auto] Issue 4290 in lilypond: Patch: Make Grob::name acces

From: lilypond
Subject: Re: [Lilypond-auto] Issue 4290 in lilypond: Patch: Make Grob::name accessible to Scheme
Date: Sun, 15 Feb 2015 22:52:40 +0000

Comment #3 on issue 4290 by address@hidden: Patch: Make Grob::name accessible to Scheme

I had a look in my files where I used a definition for 'grob-name' (more than 30 times I defined it) and it's use-cases.
Mostly I compare with an other grob-name.
Comparing via eq? is faster than equal? or string=?

In 'all-grob-descriptions' the grob-name is a symbol.

This would point to a symbol as output.

Otoh and just trying to be thoroughly, you could let it as is and write another definiton in to convert it. A similiar case is 'ly:stencil-in-color' taking single list-entries for a rgb-color and 'stencil-with-color' from stencil.scm taking a predefined color. (Ok, not exactly the same case, but two function aiming the same, taking different kind of arguments)

Nevertheless, all in all I'd vote for outputting a symbol.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

reply via email to

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