Cyclic ports from other ports, truncating the input? Jeronimo Pellegrini (09 Jul 2026 20:33 UTC)
Re: Cyclic ports from other ports, truncating the input? Wolfgang Corcoran-Mathe (10 Jul 2026 02:50 UTC)
Re: Cyclic ports from other ports, truncating the input? Jeronimo Pellegrini (10 Jul 2026 12:16 UTC)
Re: Cyclic ports from other ports, truncating the input? Wolfgang Corcoran-Mathe (10 Jul 2026 16:23 UTC)
Re: Cyclic ports from other ports, truncating the input? Jeronimo Pellegrini (11 Jul 2026 00:02 UTC)

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.