haskell-language-server VS ghc-exactprint

Compare haskell-language-server vs ghc-exactprint and see what are their differences.


Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine. (by haskell)


GHC version of haskell-src-exts exactPrint (by alanz)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
haskell-language-server ghc-exactprint
50 2
1,808 58
4.6% -
9.7 6.8
4 days ago 5 days ago
Haskell Haskell
Apache License 2.0 BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of haskell-language-server. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-18.


Posts with mentions or reviews of ghc-exactprint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-10.
  • Learning materials for ghc-exactprint?
    5 projects | reddit.com/r/haskell | 10 Jun 2021
    If you're synthesizing code, beware that addAnnotationsForPretty will always add a preceding space, so it will break layout. The best approach I've found for synthesizing code is to construct an HsExpr GhcPs, use the GHC ppr stuff to prettty print it, and then parse that in order to get reasonable Anns for it.
    5 projects | reddit.com/r/haskell | 10 Jun 2021
    in one of my project, I need to do some manipulation and transformation of Haskell source code files and AFAIK ghc-exactprint is the right tool for that. Unfortunately I have zero experience with this one, there seems not to be any more detailed documentation/tutorial examples. What is the best way how to learn this library? Can you recommend any sources?

What are some alternatives?

When comparing haskell-language-server and ghc-exactprint you can also consider the following projects:

lsp-mode - Emacs client/library for the Language Server Protocol

ormolu - A formatter for Haskell source code

vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server

lsp-haskell - lsp-mode :heart: haskell

cardano-sl - Cryptographic currency implementing Ouroboros PoS protocol


homebrew-core - 🍻 Default formulae for the missing package manager for macOS (or Linux)

emacs-which-key - Emacs package that displays available keybindings in popup

void-packages - The Void source packages collection

ghc-proposals - Proposed compiler and language changes for GHC and GHC/Haskell