Urs Liska <u...@openlilylib.org> writes: > Am 19.01.2017 um 09:59 schrieb David Kastrup: >> Urs Liska <u...@openlilylib.org> writes: >> >>> Am 18.01.2017 um 21:18 schrieb Thomas Morley: >>>> customClefStencilOne = >>>> #(ly:make-stencil `(path 0.2 ',(func 1)) >>> ... I wouldn't have ever thought of that ', combination. >>> >>> I had yet another complication because in my actual case "func" would >>> return an arbitrary number of path segments (i.e. lists) that had to be >>> flattened with >>> >>> (apply append (map l-arc (make-list l-count dir))) >> (append-map l-arc (make-list l-count dir)) > > Thank you, this seems to be the appropriate expression. > >> >> And if you need to _splice_ the result in as multiple elements rather >> than a single list expression use ,@ instead of , for the splicing. >> That removes the outer pair of parens, so to say. > > Well, in my case (for the path expression) I do need the list, so it's > perfectly sufficient now. > But just for my enlightenment: to use splicing I have to quasiquote the > expression, isn't it?
It is. I mean, you have to. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user