|
From: | David Kastrup |
Subject: | Re: scheme code generate variable series with leading "\" |
Date: | Mon, 08 Aug 2016 14:43:55 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
David Kastrup <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |