On 2020-04-26 10:01 am, David Kastrup wrote:
Predicates used in argument parsing have to be "primary" in that they
have to deliver a result for anything thrown at them.

positive? only delivers results for numbers but throws an error for
anything else.

Would there be harm in redefining an R5RS primitive?

;;;;
(define (positive? arg) (and (number? arg) (< 0 arg))
;;;;


-- Aaron Hill

Reply via email to