lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] functional-or returned #f for (functional-or #f #t #f). Fixe


From: David Kastrup
Subject: Re: [PATCH] functional-or returned #f for (functional-or #f #t #f). Fixed.
Date: Wed, 18 Nov 2009 08:24:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Patrick McCarty <address@hidden> writes:

> On 2009-11-16, David Kastrup wrote:
>> 
>> It still suffers from not doing short-circuit evaluation.  For
>> readability and efficiency, I'd really prefer replacing
>> '(apply functional-or' with '(any'      
>
> It looks like Neil removed the "is-harmonic" binding from this
> procedure a couple of days ago, since it was unused.
>
> So, nothing really needs to be changed after all.  :-)

Still I feel more comfortable with this patch in place.  I am not
entirely sure whether it would not be simpler to just scratch both
functional-or and functional-and altogether since they are basically
only useful in situations where one would better use a different mapping
function with short-circuit evaluation.

All the best

-- 
David Kastrup





reply via email to

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