haskell-src-exts
Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer (by haskell-suite)
hindent
Haskell pretty printer (by mihaimaruseac)
haskell-src-exts | hindent | |
---|---|---|
2 | 2 | |
193 | 553 | |
0.5% | - | |
0.0 | 9.1 | |
9 months ago | 2 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.
haskell-src-exts
Posts with mentions or reviews of haskell-src-exts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-23.
-
Let's talk about Brittany
Hindent relies on haskell-src-exts which hasn't been updated for more than a year, so I end up using my own fork of both while my PR is pending. I've also made a number of changes to my Hindent fork to my preferences. Fortunately stack makes it easy to use particular git commits for packages.
-
[ANN] hindent 5.3.2 released
Does this support StandAloneKindSignatures and visible forall quantification? I have an 8mo old PR to haskell-src-exts for these but it doesn't look like it's been merged.
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 haskell-src-exts and hindent you can also consider the following projects:
bricks - Bricks is a lazy functional language based on Nix.
hfd - Flash debugger with haskeline interface
CoreErlang - AST, parser, pretty-printer for Core Erlang source code.
ormolu - A formatter for Haskell source code
toml-parser - Haskell parser and printer for the TOML 1.0.0 file format
hadolint - Dockerfile linter, validate inline bash, written in Haskell
alga
grm - grm grammar converter
lens-toml-parser - Lenses for toml-parser
codex - A ctags file generator for cabal/stack project dependencies.
homplexity - Haskell code complexity and quality measurement
hlint - Haskell source code suggestions