add set-exception-printer!, print-exception to boot-9
authorAndy Wingo <wingo@pobox.com>
Fri, 11 Feb 2011 11:44:33 +0000 (12:44 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 11 Feb 2011 11:57:02 +0000 (12:57 +0100)
commit40b91dc897d1553e4602dff04031743040c68063
treed7bb730b01c40a6485954859dd23c8118360b700
parent423fca76e6100cf9584a5a974b1c0bbaf0b1cb85
add set-exception-printer!, print-exception to boot-9

* module/ice-9/boot-9.scm (set-exception-printer!, print-exception):
  Define an extensible exception-printing mechanism.
  Also register printers for all keys thrown by Guile.
  Inspired by a patch by Andreas Rottmann.
module/ice-9/boot-9.scm