aoc-2020
My Haskell solutions to Advent of Code 2020 (by amalloy)
aoc-2020-haskell | aoc-2020 | |
---|---|---|
1 | 1 | |
- | 2 | |
- | - | |
- | 0.0 | |
- | over 2 years ago | |
Haskell | ||
- | - |
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.
aoc-2020-haskell
Posts with mentions or reviews of aoc-2020-haskell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-25.
-
Advent of Code 2020, Day 25 [Spoilers]
I also solved this in a similarly lazy (heh) way and while it's not very fast it's acceptable.
aoc-2020
Posts with mentions or reviews of aoc-2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-25.
-
Advent of Code 2020, Day 25 [Spoilers]
You don't have to implement expMod yourself, because multiplication under a modulus has a semigroup/monoidal structure, and stimes handles that for you. I'm a little fuzzy on a type-correct way to do it that's flexible on the modulus, since really the modulus should be a type parameter rather than a value parameter to ensure it's the same across all multiplications. But for a fixed modulus, as in this puzzle, it's quite easy. My solution looks like:
What are some alternatives?
When comparing aoc-2020-haskell and aoc-2020 you can also consider the following projects:
aoc2020 - Haskell Solutions to Advent of Code 2020
advent2020 - Advent of Code 2020 Haskell Solutions
aoc2020 - Advent of Code 2020