Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2901)

Issue 6373055: Provide functions ly:moment-main and ly:moment-grace (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by dak
Modified:
11 years, 9 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

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.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M lily/moment-scheme.cc View 2 chunks +20 lines, -0 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b