Am 26.07.2018 um 12:32 schrieb Thomas Morley:
2018-07-26 12:20 GMT+02:00 Urs Liska <li...@openlilylib.org>:
Am 26.07.2018 um 11:57 schrieb Thomas Morley:
Hi,
I stumbled across
(equal? #{ \voiceOne #} voiceOne)
returning false.
Is it expected behaviour?
Check with \displayMusic, but I'd suspect that #{ \voiceOne #} might add an
additional layer of sequential-music around the variable.
Hi Urs,
thanks for your reply.
Though:
#(format #t "\nequal? ~a"
(equal?
(with-output-to-string (lambda () (display-lily-music voiceOne)))
(with-output-to-string (lambda () (display-lily-music #{ \voiceOne #})))))
returns true.
What I meant is
voiceOne = { c' d' e' }
#(displayMusic voiceOne)
#(displayMusic #{ \voiceOne #})
But in fact that returns the same expressions as well.
So you should better go with David's insight ...
Thanks
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user