io.files.temp.macosx: use find instead of map-find.
parent
c5150307f5
commit
210209ead2
|
@ -26,7 +26,7 @@ CONSTANT: factor-bundle-name "org.factorcode.Factor"
|
||||||
factor-bundle-name append-path ;
|
factor-bundle-name append-path ;
|
||||||
|
|
||||||
: first-existing ( paths -- path )
|
: first-existing ( paths -- path )
|
||||||
[ exists? ] map-find nip
|
[ exists? ] find nip
|
||||||
[ "no user cache directory found" throw ] unless* ; inline
|
[ "no user cache directory found" throw ] unless* ; inline
|
||||||
|
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
Loading…
Reference in New Issue