(let loop ((i #x20))
(or (not (fix:< i le))
(and (fix:= 0 (bytevector-u8-ref low i))
- (loop (fix:+ i 1))))))))))))
-
-(define-guarantee 8-bit-char-set "an 8-bit char-set")
\ No newline at end of file
+ (loop (fix:+ i 1))))))))))))
\ No newline at end of file
(define-integrable char-code-limit #x110000)
(define-integrable char-bits-limit #x10)
-(define-guarantee char "character")
-
(define (make-char code bits)
(guarantee-limited-index-fixnum code char-code-limit 'make-char)
(guarantee-limited-index-fixnum bits char-bits-limit 'make-char)
(fix:<= 2 object)
(fix:<= object 36)))
-(define-guarantee radix "radix")
-
(define (digit->char digit #!optional radix)
(let ((radix
(if (default-object? radix)
(and (index-fixnum? object)
(fix:< object char-code-limit)))
-(define-guarantee unicode-char "a Unicode character")
-(define-guarantee unicode-scalar-value "a Unicode scalar value")
-
(define (%char->scalar-value char #!optional caller)
(let ((n (char->integer char)))
(guarantee unicode-scalar-value? n caller)