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