Experiences with Directory

Martin Wierich martinw@cs.kun.nl
Tue, 04 Jan 2000 11:11:24 +0100


Hi,

"Zuurbier, E. - AMSXE" wrote about the function "getDirectoryContents":

> But the fact that this function always delivers the complete list (whether
> strict or lazy), means you cannot write a function that simply stops
> searching after you found what you need. Also, as in my program, you cannot
> recursively search the first sub-directory in a directory before the whole
> directory has been scanned. It seems to me that this calls for a function
> that delivers DirectoryContents one by one, not in a list.

Thank's for pointing that out. Such a mechanism will be added in the next
version.

greetings
  Martin Wierich
  University of Nijmegen