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:35:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> Hi,
>
> I stumbled across
> (equal?  #{ \voiceOne #} voiceOne)
> returning false.
>
> Is it expected behaviour?

equal? is not implemented all that great for "probs" but Music::equal_p
is implemented in a manner where at least

#(display (equal? voiceOne (ly:music-deep-copy voiceOne)))

would be expected to display #t and it doesn't.

Sigh.  I'll see what I can find out.

-- 
David Kastrup



reply via email to

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