[Top][All Lists]

[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?))


View this message in context:
Sent from the Dev mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]