The Paths_foo.hs file is generated in a separate directory, something like dist/autogen/ (I can't remember exactly, you should be able to find it). To get GHCi to find it, you'll need to pass an appropriate -i <dir> flag.

a general question about cabal and ghci:

if I have successfully loaded my project files into ghci, I've presumably
set all the right flags and paths, for ghci.
if I have successfully created a cabal project, I've presumably
encoded all the right flags and paths, for cabal.

would it be possible to add a "cabal" command to ghci, so that
we could:

   - create a cabal file for the currently loaded project
   - load a project from a cabal file

or does this make no sense? doesn't visual haskell do something like that, using cabal behind the scenes?

cheers,
claus

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to