On Sun, Dec 20, 2015 at 7:08 PM, Simon Albrecht
<address@hidden <mailto: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.