R6RS Errata
R6RS Errata
Revised
Report on the Algorithmic Language Scheme
§ 1.13
The description of the example program mentions
procedures
get-bytes-all
and
put-bytes
, which should be
get-bytevector-all
and
put-bytevector
The example code is missing a call to
close-port
, and should be:
#!r6rs
(import (rnrs base)
(rnrs io ports)
(rnrs programs))
(let ((p (standard-output-port)))
(put-bytevector p
(call-with-port
(open-file-input-port
(cadr (command-line)))
get-bytevector-all))
(close-port p))
§ 4
The term "read syntax" mentioned in the introduction of the
chapter should be "datum syntax".
§ 4.1
The sentence:
"Some non-terminal names refer to the Unicode scalar values of the same
name:
(U+000A),
US