hlint
Haskell source code suggestions (by ndmitchell)
hindent
Haskell pretty printer (by mihaimaruseac)
Our great sponsors
hlint | hindent | |
---|---|---|
3 | 2 | |
1,428 | 554 | |
- | - | |
8.3 | 9.0 | |
13 days ago | 3 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | 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.
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.
hlint
Posts with mentions or reviews of hlint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-06.
-
Was simplified subsumption worth it for industry Haskell programmers?
There is an open issue on hlint for it and the situation doesn't seem encouraging for anyone using apply-refact on save for Haskell files.
- create a manage hook on only one workspace
-
Write Rust lints without forking Clippy
may want to look at something like https://github.com/ndmitchell/hlint for inspiration. it can be a little finicky but you can express mildly complicated linting rules
hindent
Posts with mentions or reviews of hindent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-03.
-
I'm dissatisfied with both wrap and nowrap
Because every language is so different, every language requires individual care. So there are language specific formatters (https://github.com/mihaimaruseac/hindent for Haskell), which are usually configurable by some configuration file the in the project.
-
Let's talk about Brittany
In the long run, though, I expect Fourmolu (not Ormolu) will end up becoming the norm, because, really, two-space indents are not going to work for everyone. One of the things I like about hindent (that I did myself) is that it discovers default language extensions from the .cabal file, so you don't need to specify those yourself. I might see if I can get that code into Fourmolu.
What are some alternatives?
When comparing hlint and hindent you can also consider the following projects:
ormolu - A formatter for Haskell source code
hfd - Flash debugger with haskeline interface
hadolint - Dockerfile linter, validate inline bash, written in Haskell
ghcid - Very low feature GHCi based IDE
grm - grm grammar converter
bisect-binary - Tool to determine relevant parts of binary data
codex - A ctags file generator for cabal/stack project dependencies.
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
haskell-lsp - Haskell library for the Microsoft Language Server Protocol
bumper - Haskell tool to automatically bump package versions transitively.