[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optional arguments for scheme functions
From: |
Fr. Samuel Springuel |
Subject: |
Re: Optional arguments for scheme functions |
Date: |
Sun, 26 Apr 2020 10:36:08 -0400 |
> On 26 Apr, 2020, at 4:30 AM, Thomas Morley <address@hidden> wrote:
>
> I've no clue why positive? fails here.
> Though, for integers >= 0 we have the index? predicate, which works in
> your function.
Well, I’m glad I’m not the only one baffled. And the index? predicate does
seem to work.
> On 26 Apr, 2020, at 4:41 AM, Lukas-Fabian Moser <address@hidden> wrote:
>
> Well, positive? does not seem to like being called with anything else than a
> number:
>
> (positive? "I'm a string")
>
> fails as well.
>
> I'm not sure as to why that is the case; but anyway, this shows that the
> problem does not come from LilyPond.
Then is this something that should be reported up the chain somewhere?
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036
PAX ☧ ΧΡΙΣΤΟΣ