Woops!  I must thank you for groveling through my not very good, haven't used Scheme for decades Chibi Scheme sample implementation code.  I did not quite understand parameters when I wrote that code, and it did not occur to me to allow for wrapping with parameterize because the procedures that use it also have an optional argument for a custom prefix.

Fixed in my repo: https://github.com/hga/srfi-170

Thanks a lot!

- Harold

----- Original message -----
From: Shiro Kawai <xxxxxx@gmail.com>
Date: Tuesday, July 28, 2020 1:07 PM

The srfi document seems that the parameter temp-file-prefix can be used to specify your temporary directory, e.g.:

 (parameterize ((temp-file-prefix "/my-temp-prefix"))
      ...)

But the reference implementation looks like it generates its own prefix regardless of the value given to the parameter.  Is it the intention?