Skip to content

fuzzypixelz/AOC2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

Releases

No releases published

Packages

No packages published

Languages