lilypond-devel
[Top][All Lists]
Advanced

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

Re: Give slurs skylines in outside-staff-priority calculations. (issue 5


From: address@hidden
Subject: Re: Give slurs skylines in outside-staff-priority calculations. (issue 5504055)
Date: Wed, 28 Dec 2011 20:08:16 +0100

On Dec 28, 2011, at 8:02 PM, address@hidden wrote:

> On Dec 28, 2011, at 6:47 PM, address@hidden wrote:
> 
>> On 2011/12/28 17:41:03, mike_apollinemike.com wrote:
>> 
>>> I added it precisely to un-silently prevent negative numbers.
>>> It's true that it has no analogue in Scheme, but I didn't think this
>> was a
>>> prerequisite for adding a predicate.  In lily.scm, there are several
>> predicates
>>> that don't have Scheme analogues (cheap-list, I believe, has no Scheme
>>> counterpart).
>> 
>> I don't think that's a fair comparison.  cheap-list is recognizably a
>> predicate for lists.  Anybody who wants to check for a positive integer
>> isn't going to use ly:vsize? unless they're familiar with C++.
>> 
>> Cheers,
>> Neil
> 
> Ah, I see what you mean.
> Yes, you're right, it's a better idea to create a positive-integer? 
> predicate.  Patch forthcoming.

This wound up being a non-negative-integer predicate, as 0 is a valid vsize.

Cheers,
MS




reply via email to

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