Emacs hangs in haskell-mode with inferior-haskell-load-file call

后端 未结 4 1376
[愿得一人]
[愿得一人] 2021-02-19 21:26

When in a Haskell file, I use C-c C-l to run the command inferior-haskell-load-file which is intended to load the current file into the GHCI interprete

4条回答
  •  伪装坚强ぢ
    2021-02-19 21:53

    I got the same error message when I tried to use stack with emacs. For me, adding this line to my .emacs/init.el resolved the problem:

    (setq haskell-program-name "stack ghci")
    

提交回复
热议问题