lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Iterating music for voiceOne. Checking with equal?


From: Thomas Morley
Subject: Re: Iterating music for voiceOne. Checking with equal?
Date: Thu, 26 Jul 2018 12:32:53 +0200

2018-07-26 12:20 GMT+02:00 Urs Liska <address@hidden>:
>
>
> 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.

Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]