views:

49

answers:

1

Hi,

Do you know a Haskell package for dirent.h on Windows?

There is similar set of functions in system.posix but those functions are not implemented on Windows. I wonder if there is similar somewhere else.

Thanks.

+3  A: 

???

dirent.h is a C library header. If you want to traverse directories, use System.Directory.getDirectoryContents. This API should work on Windows.

KennyTM