[Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-22 Thread Larry Evans
On 10/21/08 18:55, Larry Evans wrote: On 10/21/08 17:55, Duncan Coutts wrote: On Tue, 2008-10-21 at 09:41 -0500, Larry Evans wrote: Just that one little piece of information, that |cabal install| , by default, installs in ~/.cabal and then enables ghc to look there for packages, would have save

[Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-21 Thread Larry Evans
On 10/21/08 17:55, Duncan Coutts wrote: On Tue, 2008-10-21 at 09:41 -0500, Larry Evans wrote: Just that one little piece of information, that |cabal install| , by default, installs in ~/.cabal and then enables ghc to look there for packages, would have saved an awful lot of time :( Where would

Re: [Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-21 Thread Duncan Coutts
On Tue, 2008-10-21 at 09:41 -0500, Larry Evans wrote: > Just that one little piece of information, that |cabal install| , by > default, installs in ~/.cabal and then enables ghc to look there for > packages, would have saved an awful lot of time :( Where would you like that information to have bee

[Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-21 Thread Larry Evans
On 10/21/08 07:35, Bertram Felgenhauer wrote: Larry Evans wrote: On 10/20/08 12:33, Larry Evans wrote: With a file containing: > module Main where > > import Array > import Control.Functor.Fix I get: > make > ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c catamorphism.example

Re: [Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-21 Thread Bertram Felgenhauer
Larry Evans wrote: > On 10/20/08 12:33, Larry Evans wrote: >> With a file containing: >> > module Main where >> > >> > import Array >> > import Control.Functor.Fix >> I get: >> > make >> > ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c >> catamorphism.example.hs Yes, using -i to

[Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-20 Thread Larry Evans
On 10/20/08 12:33, Larry Evans wrote: With a file containing: > module Main where > > import Array > import Control.Functor.Fix I get: > make > ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c catamorphism.example.hs > > catamorphism.example.hs:19:0: > Bad interface fil