[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \omit multiple/list
From: |
Kieren MacMillan |
Subject: |
Re: \omit multiple/list |
Date: |
Thu, 5 Sep 2024 12:00:42 -0400 |
Hi David,
Thanks for the fishing lesson!
> How about
>
> omitt =
> #(define-music-function (groblist) (symbol-list?)
> #{ #@(map omit (map list groblist)) #})
>
> \void \displayLilyMusic \omitt TimeSignature,NoteHead
AH!
symbol-list? is clearly something I needed to know [about]…
> You need to return music (instead of pretending that calling omit will
> achieve anything by side-effect).
>
> And of course you need a music function.
I toyed around with that, but ran into the good old “music function cannot
return ##<unspecified>” error and punted so I could get back to the work I’m
*supposed* to be doing… ;)
Thanks again!
I hope Damian appreciates your response as much as I do. :)
— Kieren
______________________________________________
My work day may look different than your work day. Please do not feel obligated
to read or respond to this email outside of your normal working hours.