io.directories.search: use fry instead of curry in find-file.
parent
30739e70ff
commit
59bc3a1ca0
|
@ -74,7 +74,7 @@ PRIVATE>
|
|||
|
||||
: find-file ( path quot: ( ... name -- ... ? ) -- path/f )
|
||||
[ bfs? <directory-iterator> ] dip
|
||||
[ keep and ] curry iterate-directory ; inline
|
||||
'[ _ keep and ] iterate-directory ; inline
|
||||
|
||||
: find-files ( path quot: ( ... name -- ... ? ) -- paths )
|
||||
selector [ each-file ] dip ; inline
|
||||
|
|
Loading…
Reference in New Issue