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: David Kastrup
Subject: Re: Iterating music for voiceOne. Checking with equal?
Date: Thu, 26 Jul 2018 12:40:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> 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.

Nope.  Only for multiple included expressions.  It also tampers with the
'origin field, but the basic equal? test is supposed to ignore that.

-- 
David Kastrup



reply via email to

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