Fix call-with-input-file & relatives for multiple values
authorDaniel Llorens <daniel.llorens@bluewin.ch>
Mon, 2 May 2011 18:36:33 +0000 (20:36 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 2 May 2011 21:23:51 +0000 (23:23 +0200)
commit7ff0f239b2534cba823adc351dda8e64db6f4a08
tree478d8282ab45710e5e9478408b343b7916b148f7
parentf3c6a02c885ad29f6af0d786e14e34c81d49470f
Fix call-with-input-file & relatives for multiple values

* module/ice-9/r4rs.scm (call-with-input-file, call-with-output-file): Rewrite
  with call-with-values.
  (with-input-from-file): use call-with-input-file.
  (with-output-to-file, with-error-to-file): use call-with-output-file.
  Update docstrings to make clear that multiple values may be yielded.
module/ice-9/r4rs.scm