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

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

Reply via email to