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.
Urs
And is the condition in the function below robust? check = #(define-music-function (mus) (ly:music?) (music-map (lambda (m) (if (equal? m #{ \voiceOne #}) ;; below will never be #t ;(equal? m voiceOne) (begin (display "\nvoiceOne found\n") m) m)) mus)) \check { \voiceOne c'1 \voiceTwo c'1 } Thanks, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user