lsp-haskell
lsp-mode :heart: haskell (by emacs-lsp)
ormolu
A formatter for Haskell source code (by tweag)
Our great sponsors
lsp-haskell | ormolu | |
---|---|---|
5 | 7 | |
213 | 824 | |
0.9% | 2.7% | |
1.0 | 6.7 | |
3 months ago | 8 days ago | |
Emacs Lisp | Haskell | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
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.
lsp-haskell
Posts with mentions or reviews of lsp-haskell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-01.
-
Kill until next char preceding space | Uppercase | underscore
Were you using emacs-lsp?
-
Requesting help with Haskell setup in emacs in 2022.
If you're interested in complete setups, my haskell-mode configuration is here, general lsp-mode (I also have an eglot setup, but that's just local for now) is here and Haskell-specific lsp-mode settings (fixing, among other things, stuff like this issue) are here.
- Emacs for Haskell
-
lsp, lsp-ui and lsp-haskell - code actions not working.
I think this is a problem with haskell language server. Also, there seems to be something missing in lsp-haskell indicated by the null errors but most likely it is not related to code actions. It is best to open an issue in https://github.com/emacs-lsp/lsp-haskell .
ormolu
Posts with mentions or reviews of ormolu.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-28.
-
Browser to Haskell Wasm Reactor Module Communication Example
I have a similar example based on Ormolu live. I wonder if there are any libraries being developed to send data back and forth?
-
Format multiline imports in hls (emacs)
You will also need a formatter that uses that style. Brittany for example. The default formattingProvider for HLS is ormolu, which I believe doesn't use this style, so you will have to change this setting.
- Monthly Hask Anything (February 2022)
- Open source projects for beginners
-
Advent of Code 2021 day 1
Turns out I prefer Brittany to Ormolu, I edited it so it hopefully looks less verbose all on one line
-
Emacs for Haskell
For code formatting ormolu is a good option
What are some alternatives?
When comparing lsp-haskell and ormolu you can also consider the following projects:
fourmolu - A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome!
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
brittany - haskell source code formatter
hlint - Haskell source code suggestions
hadolint - Dockerfile linter, validate inline bash, written in Haskell
normalize-imports - Sort and align Haskell import statements
fugue - A recapitulated prelude with minimal dependencies and profligate exports.
ihaskell - A Haskell kernel for the Jupyter project.
repl - Public friendly Haskell REPL
leksah - Haskell IDE
hoogle - Haskell API search engine