chibi-scheme/lib/srfi/35/internal.sld
Daphne Preston-Kendal 3777c1b935 Add SRFI 35 support
2024-11-02 00:49:31 +01:00

49 lines
1.3 KiB
Scheme
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(define-library (srfi 35 internal)
(import (except (scheme base)
define-record-type
;; exclude (srfi 1 immutable) duplicate imports:
map cons list append reverse)
(only (chibi)
er-macro-transformer
is-a?)
;; dont let people go messing with a compound condition
;; components list:
(srfi 1 immutable)
(srfi 99)
(srfi 133))
(export simple-condition?
compound-condition?
make-condition-type
condition?
condition-type?
condition-subtype?
condition-type-ancestors
make-condition
make-compound-condition
condition-has-type?
condition-ref
simple-conditions
extract-condition
compound-condition-components
condition-predicate
condition-accessor
define-condition-type/constructor
define-condition-type
condition
&condition
&message
make-message-condition
message-condition?
condition-message
&serious
make-serious-condition
serious-condition?
&error
make-error
error?)
(include "internal.scm"))