David Kastrup <d...@gnu.org> writes: > expendVar = > #(define-music-function (xx start stop) (list? index? index?) > #{ #@(map (lambda (i) #{ $xx . #i #}) (iota (- stop start -1) start)) #})
This currently needs to be $@(map ... since $xx . #i does not at the current point of time create a copy on its own, possibly causing trouble when used in contexts likely to modify contained music expressions (like \relative or \transpose). -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user