Kristof Bastiaensen writes: > Hi, how can I subtract two moments in scheme?
#(define (ly:sub-moment a b) (ly:add-moment a (ly:mul-moment b (ly:make-moment -1 1)))) #(display (ly:sub-moment (ly:make-moment 4 1) (ly:make-moment 3 1))) > Isn't there a function (ly:moment-sub moment1 moment2)? Currently not. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel