Re: [Haskell-cafe] How to use cabal-dev ghci and multiple targets/build-depends from cabal file?

2013-07-12 Thread Kirill Zaborsky
It looks like cabal repl [1] could solve this kind of problems, but it is 
not clear when it will be merged in cabal HEAD.

[1] https://github.com/haskell/cabal/issues/375

KInd regards,
Kirill Zaborsky

четверг, 11 июля 2013 г., 15:55:15 UTC+4 пользователь Kirill Zaborsky 
написал:

 Currently I'm creating a small library and I wanted to create tests for 
 it. So I have a library section in cabal file and also a test-suite section.

 Everything goes well but when I tried to load file with tests into ghci 
 (actually it was a REPL in emacs) I received errors stating that GHCi can 
 not find e.g. Test.Framework module.

 Is there any way to use multiple build-depends in GHCi?

 KInd regards,
 Kirill Zaborsky

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] How to use cabal-dev ghci and multiple targets/build-depends from cabal file?

2013-07-11 Thread Kirill Zaborsky
Currently I'm creating a small library and I wanted to create tests for it. 
So I have a library section in cabal file and also a test-suite section.

Everything goes well but when I tried to load file with tests into ghci 
(actually it was a REPL in emacs) I received errors stating that GHCi can 
not find e.g. Test.Framework module.

Is there any way to use multiple build-depends in GHCi?

KInd regards,
Kirill Zaborsky
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] How to use cabal-dev ghci and multiple targets/build-depends from cabal file?

2013-07-11 Thread Kirill Zaborsky
The onlys solution I see at the moment is to get rid of cabal-dev and 
install dependencies globally (which works quite OK with gentoo-haskell)

Kind regards,
Kirill Zaborsky

четверг, 11 июля 2013 г., 15:55:15 UTC+4 пользователь Kirill Zaborsky 
написал:

 Currently I'm creating a small library and I wanted to create tests for 
 it. So I have a library section in cabal file and also a test-suite section.

 Everything goes well but when I tried to load file with tests into ghci 
 (actually it was a REPL in emacs) I received errors stating that GHCi can 
 not find e.g. Test.Framework module.

 Is there any way to use multiple build-depends in GHCi?

 KInd regards,
 Kirill Zaborsky

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe