lilypond-user
[Top][All Lists]
Advanced

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

Re: Question about eval-string


From: Aaron Hill
Subject: Re: Question about eval-string
Date: Sat, 02 Mar 2019 04:41:22 -0800
User-agent: Roundcube Webmail/1.3.8

On 2019-03-02 4:38 am, Malte Meyn wrote:
Am 02.03.19 um 13:34 schrieb Aaron Hill:
%%%%
   $@(map eval-string '("voiceA" "voiceB"))
%%%%

That should work too, I think.

Wow, that’s cool! I think I have seen $@ in the past but I didn’t know
what it does ;) That should be enclosed in << >> though for Paolo’s
use case:

<<
  $@(map eval-string '("voiceA" "voiceB"))


Correct.  I should have included a full snippet for clarity.

From Extending:

"A further convenience can be the ‘list splicing’ operators $@ and #@ for inserting the elements
of a list in the surrounding context."

-- Aaron Hill



reply via email to

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