haskell / haskell-mode

Emacs mode for Haskell
http://haskell.github.io/haskell-mode/
GNU General Public License v3.0
1.33k stars 342 forks source link

haskell-compile behaviour #1527

Open vasanthaganeshk opened 7 years ago

vasanthaganeshk commented 7 years ago

haskell-compile could work based on something similar to haskell-process-type. Despite the presence of stack.yaml file haskell-compile tries to use something.cabal file. We could implement some kind of priority, we could also take a Makefile into consideration if present.

gracjan commented 7 years ago

My half tought out ideas:

projectile would allow us to store per-project configuration, like how to invoke cabal configure or stack in this specific directory.