mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Many still import (chibi), and as (scheme base) is somewhat more expensive to load at present these are changed to cond-expand. Many libraries also rely on (srfi 33), and these have been changed to a cond-expand first trying (srfi 60) where available. Also fixing a few portability concerns (duplicate imports of the same binding), and adding a few libraries missing from lib-tests.scm.
15 lines
589 B
Scheme
15 lines
589 B
Scheme
|
|
(define-library (chibi char-set extras)
|
|
(cond-expand
|
|
(chibi (import (chibi)))
|
|
(else (import (scheme base))))
|
|
(import (chibi iset) (chibi char-set base))
|
|
(include "extras.scm")
|
|
(export
|
|
char-set ucs-range->char-set char-set-copy char-set-size
|
|
char-set-fold char-set-for-each
|
|
list->char-set char-set->list string->char-set char-set->string
|
|
char-set-adjoin! char-set-adjoin char-set-union char-set-union!
|
|
char-set-intersection char-set-intersection!
|
|
char-set-difference char-set-difference!
|
|
char-set-complement char-set:empty char-set:ascii char-set:full))
|