"Christopher R. Maden" <cr...@maden.org> writes:

> On 05/06/2011 01:42 AM, David Kastrup wrote:
>> The guile manual?  eq? compares for identity, not equality of objects.
>> Composite objects constructed independently are not identical.
>
> Ugh... that’s what I was afraid of.
>
> Seems a bit of an oversight to me, then, that there is ly:duration<? but
> not ly:duration=?  I’ll write my own...

I am not sure what information is stored inside of durations, but it is
possible that equal? will do the trick (it does a recursive compare).

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to