Install haskell-mode by entering the following commands in the terminal:
sudo apt update sudo apt install haskell-mode
Description:
major mode for editing Haskell in Emacs
A major mode for editing Haskell (the functional programming language) in Emacs. . Major features: - syntax highlighting (font lock), - automatic indentation, - on-the-fly documentation, - interaction with inferior ghci or hugs instance, - scans declarations and places them in a menu.
Homepage: https://github.com/haskell/haskell-mode
Version: 16.1-3
Section: universe/devel