Install ghc-mod by entering the following commands in the terminal:
sudo apt update sudo apt install ghc-mod
Description:
Happy Haskell programming
This package provides the executables ghc-mod and ghc-modi. The GNU Emacs integration code is provided by a separate package, namely ghc-mod-el.
Homepage: https://github.com/DanielG/ghc-mod
Version: 5.8.0.0-1
Section: universe/haskell