Why hide Distribution.Compat.FilePath, or what to use instead?

Dimitry Golubovsky golubovsky at gmail.com
Sun Jul 15 23:38:00 EDT 2007


I'm trying to bring HSFFIG in order and make it work with GHC 6.6 and
the modern package structure. I have found out that the
Distribution.Compat.FilePath module (which used to be System.FilePath
in its former life) is hidden:

    Could not find module `Distribution.Compat.FilePath':
      it is hidden (in package Cabal-

I cannot use the new FilePath package because it does not have
function like exeExtension.

Other functions (splitFileExt, parseSearchPath, joinFileName, join
FileExt) probably have their analogs in the new package. What else can
I use for exeExtension?


Dimitry Golubovsky

Anywhere on the Web

More information about the Glasgow-haskell-users mailing list