On Dec 28, 2011, at 6:47 PM, n.putt...@gmail.com 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.

Cheers,
MS


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

Reply via email to