Thomas Morley <thomasmorle...@googlemail.com> writes:

[...]

I know that the discussion has moved beyond the first version, but I
still want to point out something:

> \version "2.16.0"
>
> spreadTimeSignature =
> #(define-music-function (parser location baselineSkip strg
> music)(number? string? ly:music?)
> (let* ((num (car (string-split strg #\/)))
>        (denom (cadr (string-split strg #\/))))

I consider it much nicer to make "strg" of type fraction?, and then num
can be (car strg) and denom can be (cdr strg).

and

>         \spreadTimeSignature #8 "2/4"

can just be \spreadTimeSignature #8 2/4 ... which is nicer on the eyes.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to