Thomas Morley <[email protected]> writes:
> my-time =
> #(define-music-function (v1 v2)(scheme? scheme?)
> #{ \time $v1 $v2 #})
> %% doesn't work
> {
> %% \time redefined with comma-separated list
> \my-time 2,2,1 5/8
> g'8 8 8 8 8
> %% or
> \my-time 1,1,2,1 5/8
> g'8 8 8 8 8
> }
>
> A problem with the function-macros?
A problem with the argument types. If a number is accepted, a number is
parsed. Number lists are only tried when a number as such does not
work. Because otherwise a single-element list would be impossible to
specify.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user