[Haskell-cafe] a couple of cabal related questions
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Wed Oct 13 17:06:16 EDT 2010
On 14 October 2010 05:58, Neil Mitchell <ndmitchell at gmail.com> wrote:
> I do this using a .ghci file. For Hoogle I have a file called Paths.hs
> with the module name Paths_hoogle and stub exports. I then have my
> .ghci file as:
>
> :load Main.hs Paths.hs
>
> Now Paths.hs will never interfere, or be picked up in ghc --make,
> because it has the wrong name - but is used in ghci.
Ooooohhhhh, I like this solution. I wonder how well it plays with
running ghci in emacs via haskell-mode...
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list