Package: haskell-mode Version: 16.1-6 Severity: normal Dear Maintainer,
When starting interactive-haskell-mode with the current ghc (8.4.4), the mode does not correctly parse the line indicating how many modules are loaded. To reproduce: ------------------------------------------------------------ % emacs -q t.hs [attached, dummy file] * M-x interactive-haskell-mode * M-l ------------------------------------------------------------ results in Haskell Process command errored with: (error "Unexpected response from haskell process.") You can see the problem by running ghci manually: ------------------------------------------------------------ % ghci t.hs GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help [1 of 1] Compiling Main ( t.hs, interpreted ) [flags changed] Ok, one module loaded. *Main> ------------------------------------------------------------ This response, "Ok, one module loaded", is not what the code in haskell-load.el is expecting. This is addressed upstream here: https://github.com/haskell/haskell-mode/issues/1553 That's from a previous iteration of the message, the current github code apparently handles up to GHC 8.6.3. This makes interactive-haskell-mode almost useless. -- System Information: Debian Release: 10.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages haskell-mode depends on: ii elpa-haskell-mode 16.1-6 haskell-mode recommends no packages. haskell-mode suggests no packages. -- no debconf information
module Main where import Data.Group main = print "Hello World"