Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.09 KB

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?