neilnjae,
@neilnjae@dice.camp avatar

#AdventOfCode day 11 in #Haskell

A good choice for representation made part 2 trivial (apart from an off-by-one error). Lots of folds to update collections of things.

Full writeup on my blog: https://work.njae.me.uk/2023/12/11/advent-of-code-2023-day-11/
Code on Gitlab: https://gitlab.com/NeilNjae/advent-of-code-23/-/blob/main/advent11/Main.hs

#AdventOfCode2023 #AoC2023

  • All
  • Subscribed
  • Moderated
  • Favorites
  • haskell
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines