lilypond-user
[Top][All Lists]
Advanced

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

Re: predicate pitch-or-music? - getting rid of ##{ #} ?


From: David Kastrup
Subject: Re: predicate pitch-or-music? - getting rid of ##{ #} ?
Date: Mon, 25 Nov 2013 15:54:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2013/10/17 David Kastrup <address@hidden>:
>> David Kastrup <address@hidden> writes:
>>
>>> Thomas Morley <address@hidden> writes:
>>>
>>>> I tried to create a function which should accept a pitch _or_ music.
>>>> So I defined a pitch-or-music? predicate:
>>>>
>>>> #(define (pitch-or-music? x)
>>>>   (or (ly:pitch? x) (ly:music? x)))
>>>>
>>> it will not work.  However, the predicate does not make all that much
>>> sense since every pitch is also valid music.  If we fastforward a few
>>> months until pitch? is no longer special-cased,
>>
>> More like a year.
>>
>> Issue 3618 <URL:http://code.google.com/p/lilypond/issues/detail?id=3618>
>
> I didn't apply your patch so far, though, it sounds great.

Well, it's in 2.17.29.  One quirk less.

-- 
David Kastrup



reply via email to

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