Thomas Morley 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 t
Mark Knoop writes:
> In this instance single number lists are not relevant anyway. So I've
> tried this method:
>
> #(define (multi-number-list? x)
> (and (list? x)
>(< 1 (length x))
>(every number? x)))
>
> testfn = #(define-void-function
> (a) (multi-number-list?)
> (print
2016-04-23 16:27 GMT+02:00 Mark Knoop :
> Thanks David,
>
> At 15:01 on 23 Apr 2016, David Kastrup wrote:
>>Mark Knoop writes:
>>> On upgrading to 2.19.32, one of my regular functions no longer works.
>>> It seems that a single number as the first argument is now accepted
>>> as a number-list wher
Thanks David,
At 15:01 on 23 Apr 2016, David Kastrup wrote:
>Mark Knoop writes:
>> On upgrading to 2.19.32, one of my regular functions no longer works.
>> It seems that a single number as the first argument is now accepted
>> as a number-list whereas before it was not and thus became the second
Mark Knoop writes:
> On upgrading to 2.19.32, one of my regular functions no longer works.
> It seems that a single number as the first argument is now accepted as a
> number-list whereas before it was not and thus became the second
> argument.
>
> Whilst the new possibility to write lists as 1,2
On upgrading to 2.19.32, one of my regular functions no longer works.
It seems that a single number as the first argument is now accepted as a
number-list whereas before it was not and thus became the second
argument.
Whilst the new possibility to write lists as 1,2,3,4 is very nice, is
there any