arcfide / chez-srfi

SRFIs for Chez Scheme
Other
94 stars 36 forks source link

Added [SRFI-214] implementation. #79

Closed lemvik closed 2 years ago

lemvik commented 2 years ago
lassik commented 2 years ago

You could simplify the bounds checks with this:

(define (assert-fixnum>= a b)
  (assert (and (fixnum? a) (fixnum? b) (>= a b))))