Handbook
Glossary
find-in-path* ( string -- path/f )
Vocabulary
io.standard-paths
Inputs
string
an
object
Outputs
path/f
an
object
Definition
USING:
system
;
IN:
io.standard-paths
HOOK:
find-in-path*
os
( string -- path/f )
Methods
USING:
environment
io.files
io.pathnames
io.standard-paths
kernel
sequences
splitting
system
;
M:
unix
find-in-path*
[
"PATH"
os-env
":"
split
]
dip
[
append-path
file-exists?
]
curry
find
nip
;