Hi,
I stumbled across
(equal? #{ \voiceOne #} voiceOne)
returning false.
Is it expected behaviour?
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
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user