Re: Variable equivalent in Scheme

2019-11-09 Thread Aaron Hill
On 2019-11-09 5:37 pm, Freeman Gilmore wrote: If: traLaLa = { c'4 d'4 } How would I write this in Scheme? #(define traLaLa ?) You can quote LilyPond syntax within Scheme using the #{ #} tokens: #(define traLaLa #{ { c'4 d'4 } #}) You can also define music purely in Sc

Variable equivalent in Scheme

2019-11-09 Thread Freeman Gilmore
If: traLaLa = { c'4 d'4 } How would I write this in Scheme? #(define traLaLa ?) Trying to make it work in: traLaLa = { c'4 d'4 } #(define newLa (map ly:music-deep-copy (list traLaLa traLaLa))) #(define twice (make-sequential-music newLa)) \twice Thank you, fg