ghc-mod is a command to enrich Haskell programming on editors
ghc-mod
is both an executable and a Haskell library. It is used to provide warnings, errors and type information in the context of Haskell programming. The official description is as follows:
Happy Haskell Programming
The ghc-mod command and ghc-modi command are backend commands to enrich Haskell programming on editors including Emacs, Vim, and Sublime. ghc-mod and ghc-modi are based on the ghc-mod library which is a wrapper of GHC API and Cabal.
ghc-mod
gets used in vim, emacs, Sublime Text, and other editors.
See also: ghc