lilypond-user
[Top][All Lists]
Advanced

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

Re: Comparing durations in Scheme


From: Gilles THIBAULT
Subject: Re: Comparing durations in Scheme
Date: Fri, 6 May 2011 20:14:16 +0200


Seems a bit of an oversight to me, then, that there is ly:duration<? but
not ly:duration=?  I’ll write my own...
well, i know i come too late, but somethig like that should work

#(define (ly:duration=? dur1 dur2)
   (not (or (ly:duration<? dur1 dur2)
                (ly:duration<? dur2 dur1))))

Sorry.




reply via email to

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