Stefano Troncaro <[email protected]> writes: > Thank you! I see that this is not an option then. Also, I now understand > why I couldn't make the optional arguments work, since I always left them > for last. > > Do you know if it is possible to have a flexible amount of optional > arguments that appear before the last mandatory one? Say, for example > (define-music-function (arg1 args music) (number? ??? ly:music?) where arg1 > and music are mandatory, and basically everything between arg1 and the next > music expression is compacted into a list and accessed as args in the body > of the function. Not with that syntax necessarily, but something that > allows for that kind of usage?
You know that a number or symbol list can be entered as a comma-separated list? -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
