sunterlib/s48/exceptions/packages.scm

46 lines
925 B
Scheme
Raw Normal View History

(define-interface srfi-34-interface
(export
raise
with-exception-handler
with-exception-handlers
(guard :syntax)))
(define-interface srfi-35-interface
(export
make-condition-type
condition-type?
make-condition
condition?
condition-has-type?
condition-ref
make-compound-condition
extract-condition
(define-condition-type :syntax)
(condition :syntax)
&condition
&message message-condition? condition-message
&serious serious-condition?
&error error?))
2004-01-31 09:26:52 -05:00
(define-interface srfi-34-restart-interface
(export
(raise-restartable :syntax)
(restart :syntax)))
2004-03-10 11:12:09 -05:00
(define-structure srfi-34 srfi-34-interface
(open scheme
signals)
(files srfi-34))
(define-structure srfi-35 srfi-35-interface
(open scheme
signals
srfi-1
srfi-9)
(files srfi-35))
(define-structure srfi-34-restart srfi-34-restart-interface
(open scheme
srfi-34 srfi-35)
(files restart))