mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-03 19:26:36 +02:00
Correct let to let*
This commit is contained in:
parent
1b1e8b311b
commit
c837c7110f
1 changed files with 3 additions and 3 deletions
|
@ -134,7 +134,7 @@
|
||||||
(define (read-bytevector n . o)
|
(define (read-bytevector n . o)
|
||||||
(if (zero? n)
|
(if (zero? n)
|
||||||
#u8()
|
#u8()
|
||||||
(let ((in (if (pair? o) (car o) (current-input-port)))
|
(let* ((in (if (pair? o) (car o) (current-input-port)))
|
||||||
(vec (make-bytevector n))
|
(vec (make-bytevector n))
|
||||||
(res (read-bytevector! vec in)))
|
(res (read-bytevector! vec in)))
|
||||||
(cond ((eof-object? res) res)
|
(cond ((eof-object? res) res)
|
||||||
|
|
Loading…
Add table
Reference in a new issue