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.
22 lines
541 B
Scheme
22 lines
541 B
Scheme
|
|
;; Don't import this - it's temporarily used to compute optimized
|
|
;; char-set representations.
|
|
|
|
(define-library (chibi char-set compute)
|
|
(import (chibi) (chibi iset) (chibi char-set))
|
|
(include "derived.scm" "compute.scm")
|
|
(export
|
|
char-set:lower-case
|
|
char-set:upper-case
|
|
char-set:title-case
|
|
char-set:letter
|
|
char-set:punctuation
|
|
char-set:symbol
|
|
char-set:blank
|
|
char-set:whitespace
|
|
char-set:digit
|
|
char-set:letter+digit
|
|
char-set:hex-digit
|
|
char-set:iso-control
|
|
char-set:graphic
|
|
char-set:printing))
|