On 21.12.2015 02:23, David Nalesnik wrote:
On Sun, Dec 20, 2015 at 7:08 PM, Simon Albrecht
<simon.albre...@mail.de <mailto:simon.albre...@mail.de>> 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.
Very good. Thanks for the hint.
Yours, Simon
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel