mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
They can be close()d explicitly with close-file-descriptor, and will close() on gc, but only explicitly closing the last port on them will close the fileno. Notably needed for network sockets where we open separate input and output ports on the same socket.
11 lines
485 B
Scheme
11 lines
485 B
Scheme
|
|
(define-library (chibi char-set extras)
|
|
(import (chibi) (chibi iset) (chibi char-set base))
|
|
(include "extras.scm")
|
|
(export
|
|
char-set ucs-range->char-set char-set-copy char-set-size
|
|
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))
|