Navigation
Synopsis Find a named file in a list of locations.
Function loc find(str name, list[loc] path) throws PathNotFound
Usage import IO;
Examples
rascal>import IO;
ok
Find the file IO.rsc in the standard library:
rascal>find("IO.rsc", [|std:///|]);
loc: |std:///IO.rsc|
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.