
22 Jun
2009
22 Jun
'09
6:16 a.m.
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-... HTH, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/