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