lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheme predicative types


From: Aaron Hill
Subject: Re: Scheme predicative types
Date: Thu, 17 Sep 2020 03:48:47 -0700
User-agent: Roundcube Webmail/1.4.2

On 2020-09-17 3:18 am, Lukas-Fabian Moser wrote:
I think what triggered my feeling uncomfortable was just the slight
mismatch between the name of the predicate (tempo?) and the actual
tests it contained. Maybe some verbose thing like
music-with-tempo-definition? would make things clearer.

I likely erred too far on the side of brevity.

On review, I probably would ignore the custom type predicate altogether, simply using ly:music? instead. Then within the function body add in the logic to extract the \tempo command and provide meaningful diagnostic messages to help users with the function should the provided music not be appropriate.


-- Aaron Hill



reply via email to

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