Cyclic ports from other ports, truncating the input?
Jeronimo Pellegrini 09 Jul 2026 20:33 UTC
Hello,
The SRFI proposes procedures to read cyclically from strings and
bytevectors. Wouldn't it also make sense to have a convenience procedure
to make a cyclic port from another non-cyclic one, specifying a number
of (characters or bytes) to be read from the other port? Or does it feel
like unnecessary convenience?
(Of course, then one would ask if it would also make sense to make
cyclic ports from generators...)
J.