add reset and shift
authorAndy Wingo <wingo@pobox.com>
Thu, 28 Apr 2011 10:17:56 +0000 (12:17 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 28 Apr 2011 13:48:28 +0000 (15:48 +0200)
commit18e444b40e88cf1969414a1e621adaed27d1dc43
tree9876ede8c5a5a7276b0eba2216fc0542121682b7
parent6b480ced9c31be3106e675b51afb2dfa4245bd03
add reset and shift

* module/ice-9/control.scm (reset, shift): Add implementations of these
  operators from Wolfgang J Moeller, derived from implementations by
  Oleg Kiselyov.
  (reset*, shift*): Procedural variants.

* test-suite/tests/control.test ("shift and reset"): Add tests,
  originally from Oleg Kiselyov.
module/ice-9/control.scm
test-suite/tests/control.test