2

I'm trying to maintain all of my package dependencies through Stack. However, when trying to use Haskell's Interactive Mode in Emacs, through haskell-mode, it won't find GHCI anymore, since it is only exposed through Stack now. How do I go around this now?

1 Answer 1

2

You can use this line in your Emacs configuration in order to use Stack's GHCI:

(custom-set-variables '(haskell-process-type 'stack-ghci))

Then use the haskell-session-change command to change the buffer mode and enter interactive Haskell.

You can find more info in this tutorial.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.