Handbook
Glossary
framework-find ( name -- path )
Vocabulary
alien
.
libraries
.
finder
.
macosx
Inputs
name
an
object
Outputs
path
an
object
Definition
USING:
io.pathnames
kernel
sequences
;
IN:
alien.libraries.finder.macosx
:
framework-find
( name -- path )
dup
dyld-find
[
nip
]
[
dup
".framework"
subseq-index
[
dupd
head
]
[
[
".framework"
append
]
keep
]
if*
file-name
append-path
dyld-find
]
if*
;