On Dec 28, 2011, at 8:02 PM, [email protected] wrote: > On Dec 28, 2011, at 6:47 PM, [email protected] 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 _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
