2
(define (read-all-input)
(local ((define line (bytes->list (read-bytes 4))))
(if (eof-object? line)
empty
(cons line (read-all-input)))))
(void (read-all-input))
因爲bytes->列表預計類型字節串的參數上面的代碼失敗,一個二進制文件,但是未給出#檢測EOF使用方案