https://github.com/fuzzypixelz/aoc2022
Advent Of Code 2022
https://github.com/fuzzypixelz/aoc2022
advent-of-code-2022 advent-of-code-fsharp
Last synced: 9 months ago
JSON representation
Advent Of Code 2022
- Host: GitHub
- URL: https://github.com/fuzzypixelz/aoc2022
- Owner: fuzzypixelz
- License: mit
- Created: 2022-12-01T12:21:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T19:30:57.000Z (over 3 years ago)
- Last Synced: 2025-05-31T07:08:14.074Z (about 1 year ago)
- Topics: advent-of-code-2022, advent-of-code-fsharp
- Language: F#
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent Of Code 2022: Stick-to-F# Edition
## Day 1
Here we go again :)
## Day 2
- It was interesting how the second question reduces to the first.
- I may have overdone it with the types.
- Still relatively easy.
## Day 3
- I wrote much less code today.
- I was surprised to see that the difference between the first and second
questions is nothing more than the difference between _splitting_ rucksacks
in half and _chunking_ rucksacks into groups of three.
- Why did F# remove Character Range Matches?
## Day 4
- F# interactive programming is very practical, could be faster.
- Not sure if using FParsec here is overkill.
- I got the `Assignment.AreOverlapping` function wrong many times.
## Day 5
- Most of the time was spent parsing; the stack numbers were useless.
- One can write a generic crane that works for both parts with Dependency
Injection.
- In F# `String.concat` and `String.Concat` are very different.
## Day 6
- `Array.windowed` is cool.
- Easiest problem yet?
## Day 7
- Parsing a non-persistent tree with FParsec went very wrong; Regex isn't so
bad.
- Hardest problem yet?