[Haskell-cafe] doesDirectoryExist is always returning False

Judah Jacobson judah.jacobson at gmail.com
Sat Nov 20 19:59:41 EST 2010


On Sat, Nov 20, 2010 at 6:55 AM, Marcelo Sousa <dipython at gmail.com> wrote:
> Hi,
> I'm having currently a problem with System.Directory in my mac os.
>   System Version: Mac OS X 10.6.5
>   Kernel Version: Darwin 10.5.0
> Prelude System.Directory> let dirTest = do {dir <- getCurrentDirectory;
> doesDirectoryExist dir}
> Prelude System.Directory> dirTest
> False

What's the output of getCurrentDirectory?  I just tried that on OS X
10.6.4 and dirTest returned True for me.

-Judah


More information about the Haskell-Cafe mailing list