On Sun, Apr 24, 2005 at 07:38:47AM -0700, Andrew Wilcox wrote:
> I've started working on a port of SchemeUnit
> (http://schematics.sourceforge.net/schemeunit.html) for SISC. My
> first step is to look at which features of MzScheme that SchemeUnit
> uses that I can implement in SISC.
>
> SchemeUnit uses the WITH-HANDLERS form of MzScheme
> (http://download.plt-scheme.org/doc/299.100/html/mzscheme/mzscheme-Z-H-6.html#node_idx_868).
>
> WITH-HANDLERS allows you to choose which exceptions to catch, by
> supplying a predicate to test whether the exception is one that you're
> interested in.
<snip>
Take a look at SRFI-35, which SISC supports. This should do what you
want, the rest (with-handlers) should be just syntax.
Scott
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|