On Sun, Jun 21, 2009 at 11:12 PM, Colin Paul
Adams<co...@colina.demon.co.uk> 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.

Use System.Directory.doesDirectoryExist/doesFileExist.

-Judah
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to