[Haskell-cafe] How to determine if a FilePath is a directory name or regular file?

Colin Paul Adams colin at colina.demon.co.uk
Mon Jun 22 02:12:57 EDT 2009

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.
Colin Adams
Preston Lancashire

More information about the Haskell-Cafe mailing list