summaryrefslogtreecommitdiff
path: root/module/rnrs/eval.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-02-02 16:19:48 +0100
committerLudovic Courtès <ludo@gnu.org>2011-02-02 18:06:28 +0100
commitb1e76e8f2c8997f011ca3a68ddfa2e448867108c (patch)
tree6f3eae2376f43c00521147b95ec37ff3814723f1 /module/rnrs/eval.scm
parentb8fff11ed9bfdfe96dc86d1db97ab58286b5f8b5 (diff)
downloadguile-b1e76e8f2c8997f011ca3a68ddfa2e448867108c.tar.gz
R6RS: Have `get-char', `get-line', etc. raise an `&i/o-decoding-error'.
* module/rnrs/io/ports.scm (&i/o-decoding): New error condition type. (with-i/o-decoding-error): New macro. (get-char, get-datum, get-line, get-string-all, lookahead-char): Use it. * test-suite/tests/r6rs-ports.test ("8.2.6 Input and output ports")["transcoded-port [error handling mode = raise]"]: Use `guard' and `i/o-decoding-error?'.
Diffstat (limited to 'module/rnrs/eval.scm')
0 files changed, 0 insertions, 0 deletions