Colin Paul Adams wrote: > I've been hoogling like bad to try to determine if a function like > this exists. > > getDirectoryContents returns sub-directories as well as file names. I > want only the latter, so I'm looking for a suitable filter.
The first example in this chapter of Real World Haskell uses the doesDirectoryExist function : http://book.realworldhaskell.org/read/io-case-study-a-library-for-searching-the-filesystem.html HTH, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe