[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045)
From: |
Paul Morris |
Subject: |
Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045) |
Date: |
Sun, 1 Jun 2014 09:23:48 -0700 (PDT) |
David Kastrup wrote
>> So we'd need:
>>
>> markup-or-stencil-or-procedure?
>
> markup-or-stencil-or-procedure-or-false? ...
>
> We don't do this elsewhere.
This particular case raises a general question. Instead of having to define
an "x-or-y?" type predicate for each combination that might be needed,
wouldn't it be better if there was a general way to combine type predicates
as needed within any given function? Something like:
#(define-music-function (parser location arg)
(or (boolean?) (number?) (procedure?))
...)
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162970.html
Sent from the Dev mailing list archive at Nabble.com.
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045),
Paul Morris <=