7 lines
235 B
Plaintext
7 lines
235 B
Plaintext
|
(module A RIGHT
|
||
|
(export with-display-exception)
|
||
|
(extern (display-exception display-exception ChangeMe))
|
||
|
(def (with-display-exception thunk)
|
||
|
(with-catch (lambda (e) (display-exception e (current-error-port)) e)
|
||
|
thunk)))
|