Contents    Page-10    Prev    Next    Page+10    Index   

Findpath Representation

We will use a Cons representation in which a symbol or String is a file or directory name and a list is a directory whose first element is the directory name and whose rest is the contents.

findpath has two arguments:

What findpath does is to look through its list to find some item that matches the first name in path: