I am not sure what information is stored inside of durations, but it is possible that equal? will do the trick (it does a recursive compare).
#(display (equal? (ly:make-duration 1 2 0 0)(ly:make-duration 2 4 0 0))) return #f ( the duration of an half note vs 2 quarter notes) [ Same thing for eqv? and eq? ] Gilles _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user