Updates:
        Status: Fixed
        Labels: -Patch-push Fixed_2_15_42

Comment #5 on issue 2671 by [email protected]: Patch: Provide functions ly:moment-main and ly:moment-grace
http://code.google.com/p/lilypond/issues/detail?id=2671

Pushed to staging as
commit e0defe91bab17c90c9d2e290367d04b300ebe5bf
Author: David Kastrup <[email protected]>
Date:   Fri Jun 29 01:48:11 2012 +0200

    Issue 2671: Provide functions ly:moment-main and ly:moment-grace

    Those will usually be more convenient than using ly:moment-*-numerator
    and ly:moment-*-denominator.

    Also, (/ (ly:moment-*-numerator ...) (ly:moment-*-denominator ...))
    can't deal with infinite moment components.  This could theoretically
    be amended by letting (ly:moment-*-denominator ...) resolve to
    _inexact_ zero (in which case the division turns out ±inf.0), but that
    is all rather hand-wavy and flimsy.  Being able to access the
    components directly is more straightforward.


Reply via email to