RE: Cabal: bindir/libdir/datadir

10 Oct
2005
10 Oct
'05
8:26 a.m.
On 07 October 2005 13:06, Ross Paterson wrote:
On Fri, Oct 07, 2005 at 01:05:04PM +0100, Ross Paterson wrote:
On Fri, Oct 07, 2005 at 12:35:21PM +0100, Simon Marlow wrote:
Paths.hs-inc is auto-generated, and contains
getBinDir :: IO FilePath getLibDir :: IO FilePath getDataDir :: IO FilePath getLibexecDir :: IO FilePath
Does this have to be #include'd, or could it be a module?
Oops, forget I said that.
Paths.hs-inc is a pain, but the problem with making it a module is that you have to pick a non-conflicting module name, as I'm sure you realised. So how about incorporating the package name into the module name, to avoid the conflict - eg. import Paths_alex? or Cabal.Paths_alex? Cheers, Simon
7162
Age (days ago)
7162
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow