ormolu
A formatter for Haskell source code (by tweag)
lsp-haskell
lsp-mode :heart: haskell (by emacs-lsp)
Our great sponsors
ormolu | lsp-haskell | |
---|---|---|
6 | 4 | |
809 | 212 | |
1.5% | 0.9% | |
6.9 | 3.0 | |
1 day ago | 30 days ago | |
Haskell | Emacs Lisp | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
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 2022-04-23.
-
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
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 2022-09-10.
-
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 .
What are some alternatives?
When comparing ormolu and lsp-haskell 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
hadolint - Dockerfile linter, validate inline bash, written in Haskell
hlint - Haskell source code suggestions
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.
leksah - Haskell IDE
repl - Public friendly Haskell REPL
hoogle - Haskell API search engine