Thomas Morley <thomasmorle...@gmail.com> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to