From: John Cowan <xxxxxx@ccil.org>
Date: Saturday, July 13, 2019 7:03 PM

On Sat, Jul 13, 2019 at 12:36 PM <xxxxxx@ancell-ent.com> wrote:

create-temp-file uses temp-file-iterate, so we can't change the former procedure willy-nilly. 

Just rename the SRFI 170 version to something else.  Unlike create-directory it's not a name we have to keep.
 
The current name is not great, or is at least seriously incomplete.  Ideas, file -> filename/filenames since it doesn't itself do anything with the filenames, "with-proc" or the like somewhere in there because that's what makes it particularly fancy (and I have a bias towards longer, self-documenting names):

find-temp-filename-with-proc
try-with-proc-temp-filenames
temp-filenames-iterate-with-proc

One other idea I had was to append another optional argument to govern the number of iterations, burying that in the procedure offends my sensibilities.  Could be a integer, or another procedure which could among other things accommodate the current fanciness with format, we'd supply a standard default that would implement the current behavior.

- Harold