mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 21:59: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
447 B
Scheme
11 lines
447 B
Scheme
|
|
(define-library (chibi iset constructors)
|
|
(import (chibi) (srfi 33) (chibi iset base) (chibi iset iterators))
|
|
(include "constructors.scm")
|
|
(export
|
|
iset iset-copy list->iset list->iset! iset-map
|
|
iset-adjoin iset-adjoin! iset-delete iset-delete!
|
|
iset-union iset-union! iset-intersection iset-intersection!
|
|
iset-difference iset-difference!
|
|
;; low-level
|
|
iset-copy-node iset-squash-bits! iset-insert-left! iset-insert-right!))
|