lilypond-user
[Top][All Lists]
Advanced

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

Re: Abbreviations


From: Marc Hohl
Subject: Re: Abbreviations
Date: Sat, 04 Apr 2015 09:25:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Am 03.04.2015 um 20:28 schrieb Mattes:
[...]

Well, think of it like this (slightly oversimplified):

  'tuplet' is a lilypond function, '\' will _call_ this function.
Let's quickly check that:

   guile> tuplet
     #<Music function #<procedure #f (parser location ratio tuplet-span music)>>

If you do '#(define t tuplet)'  't' will have the same value as 'tuplet':

  guile> (define t tuplet)
  guile> t
    #<Music function #<procedure #f (parser location ratio tuplet-span music)>>

If you write:

  t = \tuplet

't' would have the value of calling 'tuplet' .

  HTH RalfD

Hey, this is a concise yet brilliant explanation, thanks for sharing!

Marc




reply via email to

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