[Haskell-cafe] importing Distribution.Compat.FilePath fails

Lemmih lemmih at gmail.com
Sat Nov 18 14:18:12 EST 2006


On 11/18/06, Magnus Therning <magnus at therning.org> wrote:
> Putting
>
>   import Distribution.Compat.FilePath
>
> in my source results in
>
>   Could not find module `Distribution.Compat.FilePath':
>     it is hidden (in package Cabal-1.1.6)
>
> I want to use 'joinFileName'.
>
> I found this thread from the cabal-devel list
>
>   http://www.mail-archive.com/cabal-devel@haskell.org/msg00162.html
>
> and I was hoping that my cabal version would have an unhidden FilePath
> module... apparently not.  Can I unhide it somehow?

How about using this instead:
http://www-users.cs.york.ac.uk/~ndm/projects/libraries.php#filepath

-- 
Cheers,
  Lemmih


More information about the Haskell-Cafe mailing list