Closed
Description
It seems the messages when loading a file have changed with ghc-8.2.1.
I got the error "Unexpected response from haskell process".
After looking into it, I fixed it by changing the regex in haskell-load.el. My patch is :
--- Source/hs/haskell-load.el 2017-09-06 12:24:28.341913600 +0200
+++ .emacs.d/elpa/haskell-mode-20170903.948/haskell-load.el 2017-09-06 12:30:54.954209500 +0200
@@ -107,11 +107,11 @@
(let* ((ok (cond
((haskell-process-consume
process
-
"Ok, modules loaded: \\(.+\\)\\.$")
-
"Ok, \\([[:digit:]]+ \\)?modules? loaded[.:]\\(.*\\)$") t) ((haskell-process-consume process
-
"Failed, modules loaded: \\(.+\\)\\.$")
-
"Failed, \\([[:digit:]]+ \\)?modules? loaded[.:]\\(.*\\)$") nil) (t (error (message "Unexpected response from haskell process.")))))
I didn't check it's working on previous ghc versions, but it's meant to do it.
Metadata
Metadata
Assignees
Labels
No labels