On Sun, Apr 7, 2019 at 12:53 PM Lassi Kortela <xxxxxx@lassi.io> wrote:

It would be nice to use an ordinary byte input stream to represent the
decompressed contents of a file inside the archive, but I haven't heard
of any reasonably portable way to make custom streams like that.

Custom I/O ports do exist in R6RS, but they require deep changes to
implementations and in order to be fully usable depend on the nonstandardized
I/O operations provided by particular implementations.  Consequently,
I have (by chair fiat) ruled them out for R7RS-large. SRFI 121/158
generators (procedures with a particular calling convention), which are
portable and part of R7RS-large already, are a reasonable substitute.

-- 
John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
If I have not seen as far as other giants, it’s because I have been
standing on my head.  --Trond Engen