Simon Albrecht <simon.albre...@mail.de> writes:

> On 30.05.2016 17:23, Phil Holmes wrote:
>> I obviously need to do more potato peeling.
>
> Words of wisdom :-)
>
>
> On 30.05.2016 16:18, David Kastrup wrote:
>> $@(make-list n #{ \lyricmode { _ } #})
>
> David, could you give a hint as to what the @ does here, or where it’s
> documented? Obviously it’s not the use which is documented with Guile
> 1.8
> (<http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Using-Guile-Modules.html#index-g_t_0040_0040-2357>).

Try LilyPond.

<URL:http://lilypond.org/doc/v2.18/Documentation/extending/importing-scheme-in-lilypond#index-_0024_0040-2>

       A further convenience can be the ‘list splicing’ operators ‘$@’ and
    ‘#@’ for inserting the elements of a list in the surrounding context.
    Using those, the last part of the example could have been written as

         …
         { #@newLa }

       Here, every element of the list stored in ‘newLa’ is taken in
    sequence and inserted into the list, as if we had written

         { #(first newLa) #(second newLa) }


-- 
David Kastrup

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

Reply via email to