Closed
Description
Perhaps a file like .haskell-process-type can be read per project root to determine what type should be used prior to checking the current global variable.
I often have 3-4 projects open at the same time, some depending on cabal repl and some using the plain ghci. I ended up creating "haskell-process-cabal" "haskell-process-ghci" functions I call using M-x to flip the global variable, which feels like a sub-par solution. It gets real annoying when you have to haskell-process-restart.