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.
On 14 October 2010 05:58, Neil Mitchell ndmitch...@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
Hello,
recently I've cabalized my program and it brought some problems.
First of all, I made use of 'import Paths_package name' functionality
to get the path of installed data files. It works great, but now I can
no longer run my program in ghci because this module is auto-generated
by
On Tue, Oct 12, 2010 at 10:20, Dmitry V'yal akam...@gmail.com wrote:
Hello,
recently I've cabalized my program and it brought some problems.
First of all, I made use of 'import Paths_package name' functionality to
get the path of installed data files. It works great, but now I can no
longer
On 12.10.2010 13:45, Magnus Therning wrote:
On Tue, Oct 12, 2010 at 10:20, Dmitry V'yalakam...@gmail.com wrote:
Hello,
recently I've cabalized my program and it brought some problems.
First of all, I made use of 'import Paths_package name' functionality to
get the path of installed data
On Tue, Oct 12, 2010 at 15:34, Dmitry V'yal akam...@gmail.com wrote:
On 12.10.2010 13:45, Magnus Therning wrote:
On Tue, Oct 12, 2010 at 10:20, Dmitry V'yalakam...@gmail.com wrote:
Hello,
recently I've cabalized my program and it brought some problems.
First of all, I made use of 'import
On 13 October 2010 02:00, Magnus Therning mag...@therning.org wrote:
On Tue, Oct 12, 2010 at 15:34, Dmitry V'yal akam...@gmail.com wrote:
By the way, the 'version' variable doesn't mentioned in Cabal user guide, or
at least I missed it. Is it documented somewhere?
I don't know, I think I
On Tue, Oct 12, 2010 at 10:41 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
On 13 October 2010 02:00, Magnus Therning mag...@therning.org wrote:
On Tue, Oct 12, 2010 at 15:34, Dmitry V'yal akam...@gmail.com wrote:
By the way, the 'version' variable doesn't mentioned in Cabal user