[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exceptions



Chris Wright wrote:
> I am sure that all this can be done in mzscheme, but I wonder if there is a
> simple "transliteration" of the above examples
> to get started. The documentation seems to quite quickly get into custodians
> and theads and parameters. I wonder if that is necessary in a dumb
> single-threaded example like the above?

The construct you want is `with-handlers'.

--  Paul

 ----------------------------------------------
| Paul Steckler                                |
| steck@ccs.neu.edu                            |
| "I'm the type-checker; I'm here to help you" |
 ---------------------------------------------