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.
- Potential files to work with: