At Wed, 13 Feb 2013 15:32:57 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
Francesco,
I can confirm that 1.11.1 works.
I think I fixed this problem.
Would you try the master branch?
https://github.com/kazu-yamamoto/ghc-mod
Hi Kazu,
Now I get another error:
Error:command line:
Now I get another error:
Error:command line: cannot satisfy -package wl-pprint
even if ‘wl-pprint’ is installed, and ‘cabal configure; cabal build’ runs
fine.
It seems to me that you installed multiple GHCs and wl-pprint is not
installed for one of them. Is my guess corrent?
--Kazu
At Wed, 13 Feb 2013 19:51:15 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
Now I get another error:
Error:command line: cannot satisfy -package wl-pprint
even if ‘wl-pprint’ is installed, and ‘cabal configure; cabal build’ runs
fine.
It seems to me that you installed multiple
Nope :). I have one ‘ghc’, and this is my ‘ghc-pkg list’:
http://hpaste.org/82293. ‘ghci -package wl-pprint’ runs just fine.
Uhhhm. Are you using sandbox?
--Kazu
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
At Wed, 13 Feb 2013 22:01:35 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
Nope :). I have one ‘ghc’, and this is my ‘ghc-pkg list’:
http://hpaste.org/82293. ‘ghci -package wl-pprint’ runs just fine.
Uhhhm. Are you using sandbox?
Actually it turns out that I have a ‘cabal-dev’ directory
At Wed, 13 Feb 2013 13:24:48 +,
Francesco Mazzoli wrote:
At Wed, 13 Feb 2013 22:01:35 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
Nope :). I have one ‘ghc’, and this is my ‘ghc-pkg list’:
http://hpaste.org/82293. ‘ghci -package wl-pprint’ runs just fine.
Uhhhm. Are you using
Francesco,
I can confirm that 1.11.1 works.
I think I fixed this problem.
Would you try the master branch?
https://github.com/kazu-yamamoto/ghc-mod
--Kazu
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Hi,
I have been using ghc-mod for a long time and I can’t give it up now, but I have
an annoying problem.
When I have a cabal file with a library and an executable depending on the
library (for example here
https://github.com/bitonic/kant/blob/master/kant.cabal), ghc-mod is not happy,
Hi Francesco,
To keep ghc-mod happy, you also have to keep ghci happy. What you
probably need is a .ghci file in the directory with a :set -isrc line
in it. You may also need to add other stuff to .ghci such as language
extensions and whatever else is needed to load your project with ghci.
At Fri, 08 Feb 2013 11:11:06 +0100,
CJ van den Berg wrote:
Hi Francesco,
To keep ghc-mod happy, you also have to keep ghci happy. What you
probably need is a .ghci file in the directory with a :set -isrc line
in it. You may also need to add other stuff to .ghci such as language
extensions
On 08/02/13 11:20, Francesco Mazzoli wrote:
At Fri, 08 Feb 2013 11:11:06 +0100,
CJ van den Berg wrote:
To keep ghc-mod happy, you also have to keep ghci happy. What you
probably need is a .ghci file in the directory with a :set -isrc line
in it. You may also need to add other stuff to .ghci
At Fri, 08 Feb 2013 11:39:19 +0100,
CJ van den Berg wrote:
I downloaded your package and tried it. It does work.
So, what I have is
bitonic@clay ~/src/kant (git)-[master] % cat .ghci
:set -isrc
And I still get the mentioned error. Did you take any other measures to make
things work?
On 8 February 2013 22:25, Francesco Mazzoli f...@mazzo.li wrote:
At Fri, 08 Feb 2013 11:39:19 +0100,
CJ van den Berg wrote:
I downloaded your package and tried it. It does work.
So, what I have is
bitonic@clay ~/src/kant (git)-[master] % cat .ghci
:set -isrc
Try also having :set
On 08/02/13 12:25, Francesco Mazzoli wrote:
At Fri, 08 Feb 2013 11:39:19 +0100,
CJ van den Berg wrote:
I downloaded your package and tried it. It does work.
So, what I have is
bitonic@clay ~/src/kant (git)-[master] % cat .ghci
:set -isrc
And I still get the mentioned error. Did
Hi,
When I have a cabal file with a library and an executable depending on the
library (for example here
https://github.com/bitonic/kant/blob/master/kant.cabal), ghc-mod is not
happy,
complaining in every file that
Error:command line: cannot satisfy -package kant
Where ‘kant’ is
At Fri, 08 Feb 2013 21:22:23 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
I guess you don't install the kant library, right?
If so, I will think how to treat this kind problem.
The ‘kant’ package is the package I’m developing and using ghc-mod on. It
includes both a library and an executable.
At Fri, 08 Feb 2013 12:50:47 +0100,
CJ van den Berg wrote:
On 08/02/13 12:25, Francesco Mazzoli wrote:
At Fri, 08 Feb 2013 11:39:19 +0100,
CJ van den Berg wrote:
I downloaded your package and tried it. It does work.
So, what I have is
bitonic@clay ~/src/kant (git)-[master] %
The ‘kant’ package is the package I’m developing and using ghc-mod on.
Yes. I understand it.
It includes both a library and an executable. The executable target
has ‘kant’ as a dependency.
What I asked is whether or not the kant library is installed by
cabal.
To edit a Haskell file for
At Fri, 08 Feb 2013 22:18:20 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
The ‘kant’ package is the package I’m developing and using ghc-mod on.
Yes. I understand it.
It includes both a library and an executable. The executable target
has ‘kant’ as a dependency.
What I asked is
Well installing it has the big problem that each time I make a
change to the interface I have to manually re-install, and this
happens often since I’m in an early stage...
I'm not saying that you should install it. But I just want to know
your situation.
Right, but this is surely doable
At Fri, 08 Feb 2013 22:39:07 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
Well installing it has the big problem that each time I make a
change to the interface I have to manually re-install, and this
happens often since I’m in an early stage...
I'm not saying that you should install it.
At Fri, 08 Feb 2013 13:43:12 +,
Francesco Mazzoli wrote:
At Fri, 08 Feb 2013 22:39:07 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
Well installing it has the big problem that each time I make a
change to the interface I have to manually re-install, and this
happens often since I’m
22 matches
Mail list logo