avoid delivering 0 values to 1-valued continuations in srfi-19
authorAndy Wingo <wingo@pobox.com>
Sat, 1 Nov 2008 13:25:53 +0000 (14:25 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 1 Nov 2008 13:28:24 +0000 (14:28 +0100)
commit0a283d1b0b07d3b4ba1358e797f697a9a5850ca8
tree2e7bacef5d5c24575c171e591ec4bef26072b92d
parentea93465de79826ca8bbd3689bfbccca58e8d9353
avoid delivering 0 values to 1-valued continuations in srfi-19

* module/srfi/srfi-19.scm: Some parts of this code used a strange idiom,
  `(values)', to indicate that a procedure did nothing. However, quoth
  R5RS:

     Except for continuations created by the `call-with-values'
     procedure, all continuations take exactly one value.

  Indeed the VM indicated this error. I reworked the code to avoid these
  cases.
module/srfi/srfi-19.scm