[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Further scheme help, please
From: |
David Kastrup |
Subject: |
Re: Further scheme help, please |
Date: |
Mon, 30 May 2016 18:41:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Simon Albrecht <address@hidden> 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
address@hidden and
address@hidden for inserting the elements of a list in the surrounding
context.
Using those, the last part of the example could have been written as
…
{ address@hidden }
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
- Further scheme help, please, Phil Holmes, 2016/05/30
- Re: Further scheme help, please, David Kastrup, 2016/05/30
- Re: Further scheme help, please, Phil Holmes, 2016/05/30
- Re: Further scheme help, please, David Kastrup, 2016/05/30
- Re: Further scheme help, please, Phil Holmes, 2016/05/30
- Re: Further scheme help, please, Simon Albrecht, 2016/05/30
- Re: Further scheme help, please,
David Kastrup <=
- Re: Further scheme help, please, Simon Albrecht, 2016/05/30
- Re: Further scheme help, please, Andrew Bernard, 2016/05/30