This is the part where you use make-lzip-input-port/compressed: > (define (compressed-port compression input) > - "Return an input port where INPUT is decompressed according to COMPRESSION, > + "Return an input port where INPUT is compressed according to COMPRESSION, > a symbol such as 'xz." > (match compression > ((or #f 'none) (values input '())) > ('bzip2 (filtered-port `(,%bzip2 "-c") input)) > ('xz (filtered-port `(,%xz "-c") input)) > ('gzip (filtered-port `(,%gzip "-c") input)) > - (else (error "unsupported compression scheme" compression)))) > + ('lzip (values (lzip-port 'make-lzip-input-port/compressed input) > + '())) > + (_ (error "unsupported compression scheme" compression)))) So why not doing like for the others? -- Pierre Neidhardt https://ambrevar.xyz/