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.

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to