Quoting Nicolas Sceaux <[EMAIL PROTECTED]>:

Erik Sandberg <[EMAIL PROTECTED]> writes:

Citerar Graham Percival <[EMAIL PROTECTED]>:

In Geoff's defense, this kind of construct _is_ more complicated (to
an end-user) than it needs to be -- why the define-music-function,

One concrete proposal of Graham has been cut out in this thread, namely that there should be no need to specify the two first arguments, parser and location. As far as I understand, it should be trivial to make a version of define-music-function where the user doesn't have to add these arguments manually, so the syntax is

#(new-define-music-function (arg1 arg2 ... ) (typecheck1 typecheck2 ... )
 #{    ordinary LilyPond code using $arg1 $arg2 ...  #}
}

 /Mats




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

Reply via email to