The haskell-lsp package

[ Tags: development, library, mit, program ] [ Propose Tags ]

An implementation of the types, and basic message server to allow language implementors to support the Language Server Protocol for their specific language.

An example of this is for Haskell via the Haskell IDE Engine, at

[Skip to Readme]


Change log
Dependencies aeson (>=, base (>=4.9 && <4.11), bytestring, containers, data-default, directory, filepath, hashable, haskell-lsp, hslogger, lens (>=4.15.2), mtl, parsec, sorted-list (==0.2.0.*), stm, text, time, transformers, unordered-containers, vector, yi-rope [details]
License MIT
Copyright Alan Zimmerman, 2016-2017
Author Alan Zimmerman
Category Development
Home page
Source repository head: git clone
Uploaded Wed Dec 27 19:25:53 UTC 2017 by AlanZimmerman
Distributions LTSHaskell:, NixOS:, Stackage:
Executables lsp-hello
Downloads 573 total (314 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-12-27 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for haskell-lsp-

[back to package description]

CircleCI Hackage


Haskell library for the Microsoft Language Server Protocol

Warning: this library and its associated ecosystem is under development at the moment. So do not have high expectations, it is not ready for casual use.


To see this library in use you need to install the haskell-ide-engine

git clone
cd haskell-ide-engine
stack install

This will put the hie executable in your path.

Then, run the plugin in vscode:

git clone
cd vscode-hie-server
code .

In vscode, press F5 to run the extension in development mode.

You can see a log from hie by doing

tail -F /tmp/hie-vscode.log

There are also facilities on the code to send back language-server-protocol log and show events.

It can also be used with emacs, see

Using the example server

stack install

will generate a lsp-hello executable.

Changing the server to be called in the vscode-hie-server plugin from hie to lsp-hello will run the example server instead of hie.

Likewise, changing the executable in lsp-haskell for emacs.

Useful links

Other resource

See #haskell-ide-engine on IRC freenode