bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc: Extending: "sole ‘real’ argument" should be simply "argument"


From: James Lowe
Subject: Re: Doc: Extending: "sole ‘real’ argument" should be simply "argument"
Date: Sun, 13 Mar 2016 11:23:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 12/03/16 19:57, Mark D. Blackwell wrote:
The Extending LilyPond manual, in section 1.3.4:

http://www.lilypond.org/doc/v2.19/Documentation/extending/adding-articulation-to-notes-_0028example_0029

currently states:

"Now we transform the add-accent function into a music function (a
matter of some syntactic sugar and a declaration of the type of its
sole ‘real’ argument).

     addAccent = #(define-music-function (note-event)
                                          (ly:music?)"

Now, the two words, "sole ‘real’" are mysterious and confusing, since
"note-event" is the only argument.

Formerly, those words referred to the fact that (in version 2.18) the
supplied arguments "parser" and "location" conveyed no information.
Compare version 2.18:

"Now we transform the add-accent function into a music function (a
matter of some syntactic sugar and a declaration of the type of its
sole ‘real’ argument).

     addAccent = #(define-music-function (parser location note-event)
                                          (ly:music?)"

So the present text should be changed to:

"Now we transform the add-accent function into a music function (a
matter of some syntactic sugar and a declaration of the type of its
argument).

     addAccent = #(define-music-function (note-event)
                                          (ly:music?)"


Thank you Mark.

This has been added as

https://sourceforge.net/p/testlilyissues/issues/4796/

--
James

-------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]