Handbook
Glossary
list-files-slow ( listing-tool -- array )
Vocabulary
tools
.
files
Inputs
listing-tool
an
object
Outputs
array
an
object
Definition
USING:
accessors
io.directories
io.files.info
kernel
sequences
sorting.specification
;
IN:
tools.files
:
list-files-slow
( listing-tool -- array )
[
path>>
]
[
sort>>
]
[
specs>>
]
tri
[
[
file-spec>string
]
with
map
]
curry
[
[
[
[
dup
name>>
link-info
file-listing
boa
]
map
]
]
dip
[
[
sort-with-spec
]
when*
]
curry
compose
]
dip
[
map
]
curry
compose
with-directory-entries
;
inline