advent-of-code-21
By NeilNjae
brittany
haskell source code formatter (by lspitzner)
advent-of-code-21 | brittany | |
---|---|---|
8 | 7 | |
- | 689 | |
- | - | |
- | 0.0 | |
- | over 1 year ago | |
Haskell | ||
- | 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.
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.
advent-of-code-21
Posts with mentions or reviews of advent-of-code-21.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-15.
-
[Julia] day 8 part 2 need some help figuring out how to which letter is which part
I wrote it up on my blog and you can see the Haskell code
-
Getting Cabal to profile?
I've got each day's program as a different executable in a single Cabal project. You can see the code on Gitlab.
-
-๐- 2021 Day 14 Solutions -๐-
A bit late, but I got there in the end. Using the same "counting pairs" trick as everyone else. Writeup on my blog and code on Gitlab.
-
-๐- 2021 Day 12 Solutions -๐-
The complex rules made this a bit fiddly to write. Writeup on my blog and code on Gitlab.
-
-๐- 2021 Day 7 Solutions -๐-
Haskell, using gradient descent. The code's actually short enough to post here! Writeup on my blog and code on Gitlab.
-
-๐- 2021 Day 2 Solutions -๐-
Full writeup on my blog, and code on Gitlab.
-
Advent of Code 2021 day 1
Full project on Gitlab
-
-๐- 2021 Day 1 Solutions -๐-
Code is at https://gitlab.com/NeilNjae/advent-of-code-21/-/blob/main/advent01/Main.hs
brittany
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.
- Announce end of maintenance by tfausak ยท Pull Request #377 ยท lspitzner/brittany
-
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.
-
Why is there no "standard" formatting tool for haskell?
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
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
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.
What are some alternatives?
When comparing advent-of-code-21 and brittany you can also consider the following projects:
advent-of-code - Advent of code solutions
stylish-haskell - Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell]
aoc2021 - Advent of Code 2021
ormolu - A formatter for Haskell source code
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
axel - Haskell + Lisp
adventofcode - Advent of code solutions
hfmt - Format Haskell programs. Inspired by the gofmt utility.
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
formura - Describe stencil formurae without even translating them
config-value - Simple, layout-based, unambiguous configuration language implemented in Haskell
advent-of-code-21 vs advent-of-code
brittany vs stylish-haskell
advent-of-code-21 vs aoc2021
brittany vs ormolu
advent-of-code-21 vs adventofcode
brittany vs axel
advent-of-code-21 vs adventofcode
brittany vs hfmt
advent-of-code-21 vs aoc2021
brittany vs formura
advent-of-code-21 vs ormolu
brittany vs config-value