[Haskell-cafe] Hdevtools cabal support

Daniel Trstenjak daniel.trstenjak at gmail.com
Fri Feb 21 12:22:30 UTC 2014

Hi Alan,

On Fri, Feb 21, 2014 at 02:09:28PM +0200, AlanKim Zimmerman wrote:
> In terms of using the right section of cabal, in the dev/editor environment you
> actually need to union of all the cabal targets, so all the various hs-src
> directories etc are in scope.

You might get an issue by doing it that way, just think about two
executables having modules with the same name.

I think the "right" way might be to find the associated cabal target
for the current source file.

But I don't know if it's possible to always get a unique cabal target.


More information about the Haskell-Cafe mailing list