lilypond-devel
[Top][All Lists]
Advanced

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

Re: ly:moment<=? ??


From: David Nalesnik
Subject: Re: ly:moment<=? ??
Date: Sun, 20 Dec 2015 19:23:42 -0600

On Sun, Dec 20, 2015 at 7:08 PM, Simon Albrecht <address@hidden>
wrote:

> Hello,
>
> while getting to terms with the accidentalStyle code I found that it would
> be useful (currently only for dodecaphonic-no-repeat-rule,
> scm/music-functions.scm:line 1682f.) to have a ly:moment<=? Scheme
> predicate function. It’s easy to do in Scheme:
>
> (define (ly:moment<=? a b)
>  (or (equal? a b)
>   (ly:moment<? a b)))
>
> but I see that the ly:moment<? procedure is defined in
> lily/moment-scheme.cc.
> Do you think it’s worth it to generally provide such a procedure? Or just
> define it locally in music-functions.scm?
>
>
It has already been provided: see moment<=? in scm/lily-library,scm.

David


reply via email to

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