Hi,

I probably don't understand all the implications and I am certainly not
suggesting to change the function signature. But while we are at it:

A definition is usually “name” = “the thing to be defined”.

In the current \defineBarLine function, I always wondered why the first
argument contains a real barline and not just a name for it:

\defineBarLine ".|:-||" #'("||" ".|:" ".|")

The first argument mixes barlines and a suffix. ‘.|:’ is a real bar line
and the ‘-||’ part is a name extension. In order to cleanly separate the
name and the definition, this would me much clearer:

\defineBarLine "myname" #'("||" ".|:" ".|:" ".|")
i.e. "name" #'(start middle end span)

"name" could still be ".|:-||" – or anything else.

Cheers,
Joram

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

Reply via email to