prepend-path ( path1 path2 -- path )
Factor handbook > Input and output > Pathnames

Prev:path-components ( path -- seq )
Next:append-path ( path1 path2 -- path )


Vocabulary
io.pathnames

Inputs and outputs
path1a pathname string
path2a pathname string
patha pathname string


Word description
Appends path2 and path1 to form a pathname.

Examples
USING: io.pathnames prettyprint ; "second.txt" "first" prepend-path .
"first/second.txt"


See also
append-path

Definition