hlint VS hindent

Compare hlint vs hindent and see what are their differences.

hlint

Haskell source code suggestions (by ndmitchell)

hindent

Haskell pretty printer (by mihaimaruseac)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
hlint hindent
3 2
1,270 522
- -
8.8 1.1
3 days ago 19 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.

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.

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
    2 projects | reddit.com/r/vim | 3 Feb 2022
    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
    4 projects | reddit.com/r/haskell | 23 Apr 2021
    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:

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

ormolu - A formatter for Haskell source code

ihaskell - A Haskell kernel for the Jupyter project.

leksah - Haskell IDE

hadolint - Dockerfile linter, validate inline bash, written in Haskell

ghcid - Very low feature GHCi based IDE

hie-core - The Daml smart contract language

ghci-ng

ghcide - A library for building Haskell IDE tooling

hoogle - Haskell API search engine

threadscope - A graphical tool for profiling parallel Haskell programs