Add `guard' form and test cases to R6RS (rnrs exceptions) library.
authorJulian Graham <julian.graham@aya.yale.edu>
Sat, 27 Mar 2010 00:57:52 +0000 (20:57 -0400)
committerJulian Graham <julian.graham@aya.yale.edu>
Fri, 21 May 2010 01:18:03 +0000 (21:18 -0400)
commitd1c83d388aa35977a612eceda4cf52ef891cab0b
tree098dd93df8df977303ab88e10073ddb1e1e82d5e
parenta7ada161878d42b194660990473ccfbc86e59543
Add `guard' form and test cases to R6RS (rnrs exceptions) library.

* module/rnrs/6/exceptions.scm: (guard0, guard): New syntax.
* module/rnrs/records/6/procedural.scm: (r6rs-raise-continuable): Can't
  use `raise' here because it's exported by (rnrs exceptions); use plain
  old `throw' instead.
* test-suite/Makefile.am: Add tests/r6rs-exceptions.test to SCM_TESTS.
* test-suite/tests/r6rs-exceptions.test: New file.
module/rnrs/6/exceptions.scm
module/rnrs/records/6/procedural.scm
test-suite/Makefile.am
test-suite/tests/r6rs-exceptions.test [new file with mode: 0644]