Handbook
Glossary
unique-files ( prefix suffixes -- paths )
Vocabulary
io
.
files
.
unique
Inputs
prefix
an
object
suffixes
an
object
Outputs
paths
an
object
Definition
USING:
continuations
io.directories
io.files.unique.private
io.pathnames
kernel
namespaces
sequences
;
IN:
io.files.unique
:
unique-files
( prefix suffixes -- paths )
[
random-file-name
[
glue
dup
touch-unique-file
suffix!
]
curry
with
each
{
}
like
]
2curry
[
[
V{
}
clone
]
]
dip
[
[
[
[
delete-file
]
each
]
[
rethrow
]
bi*
]
recover
]
curry
compose
unique-retries
get
retry
[
absolute-path
]
map
;