lilypond-devel
[Top][All Lists]
Advanced

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

Re: unfoldRepeats can be restricted to certain repeat-types (issue 31889


From: David Kastrup
Subject: Re: unfoldRepeats can be restricted to certain repeat-types (issue 318890043 by address@hidden)
Date: Sat, 03 Dec 2016 12:33:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> As a user interface, that sounds very much desirable.  I don't like
> converting symbols to strings, putting stuff on them, and converting
> them back again.
>
> But it's probably the lesser evil.

Actually, use an alist or a hash internally for mapping
tremolo,volta,whatever to a music type even though it looks like string
manipulation might do the trick.

That way you can also get #f and put out an error instead of creating an
illegal music type.

And the result is again reasonably efficient.

-- 
David Kastrup



reply via email to

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