On 2016/12/03 11:33:15, dak wrote:
David Kastrup <mailto:d...@gnu.org> 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

Much better

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.

Efficiency is one of my concerns as well.

For now I'll change the issue to needs_work (I've found another
oversight ...) so James doesn't need to test.



https://codereview.appspot.com/318890043/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to