type-of-html VS brittany

Compare type-of-html vs brittany and see what are their differences.


High performance type safe html generation (by knupfer)


haskell source code formatter (by lspitzner)
Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • Zigi - Workflow assistant built for devs & their teams
  • Scout APM - Truly a developer’s best friend
type-of-html brittany
0 7
120 687
- -
0.0 4.2
4 months ago 16 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License GNU Affero 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.


Posts with mentions or reviews of type-of-html. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning type-of-html yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of brittany. 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)
    2 projects | reddit.com/r/haskell | 23 Apr 2022
    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.
  • Why is there no "standard" formatting tool for haskell?
    4 projects | reddit.com/r/haskell | 4 Jan 2022
    For Haskell I use Brittany with this config:
    4 projects | reddit.com/r/haskell | 4 Jan 2022
    Yeah I couldn't find anything at all which is really unfortunate. You could check out the config source code
  • Advent of Code 2021 day 1
    5 projects | reddit.com/r/haskell | 1 Dec 2021
    Turns out I prefer Brittany to Ormolu, I edited it so it hopefully looks less verbose all on one line
  • Let's talk about Brittany
    4 projects | reddit.com/r/haskell | 23 Apr 2021
    I use Brittany and prefer it to Ormolu, because it aligns more things and it break lines that are too long automatically. I have recently tried to figure out how I could implement a solution to https://github.com/lspitzner/brittany/issues/157, but it is quite hard to figure out which parts of the code would be involved in such a change. And I don't really have enough time to make steady contributions, but I will probably try to make a few contributions sometime.
    4 projects | reddit.com/r/haskell | 23 Apr 2021
    I would say that development has stalled: https://github.com/lspitzner/brittany/issues/322

What are some alternatives?

When comparing type-of-html and brittany you can also consider the following projects:

stylish-haskell - Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell]

ormolu - A formatter for Haskell source code

CoreErlang - AST, parser, pretty-printer for Core Erlang source code.

axel - Haskell + Lisp


formura - Describe stencil formurae without even translating them

language-thrift - Haskell parser for the Thrift IDL format.

purescript - A strongly-typed language that compiles to JavaScript

hfmt - Format Haskell programs. Inspired by the gofmt utility.

fortran-src - Fortran parsing and static analysis infrastructure

lens-toml-parser - Lenses for toml-parser