#adventofcodeunison — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #adventofcodeunison, aggregated by home.social.
-
Advent of Code in Unison, Day 7
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/terms/day07/README
This was _much_ smoother than day 6 for me. The solid block of characters made for an easy parser and the data structure I used for part 1 transitioned nicely into part 2.
-
Advent of Code in Unison, Day 6
I made bad choices (or got unlucky) with my parser for this one and had to re-work it substantially for part 2, which is a shame because the parsing is the hard part on this one.
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/terms/day06/README
-
A hair late, but here's Advent of Code in Unison, Day 5!
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/namespaces/day05
Range overlap ends up being pretty straightforward in Unison. I ended up implementing most of part 2 as a premature optimization for part 1. Take THAT Donny Knuth. 😛
-
Advent of Code in Unison, Day 4!
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/terms/day04/README
Grid based puzzles are always a good time. My favourite trick for these is to use an associative data structure for the board instead of a nested array (shout out to _Clojure Programming_ for teaching me that trick).
-
Day03 of Advent of Code: the return of Joltage!
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/terms/day03/README
A few hurdles dealing with List functions, but otherwise a pretty straightforward puzzle.
-
Another day, another Advent of Code puzzle.
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/terms/day02/README
Nothing terribly complicated here, though I did use streams instead of lists to avoid blowing up memory.
-
Day 1 of Advent of Code in Unison down!
https://share.unison-lang.org/@nathanielknight/aoc2025/code/main/latest/namespaces/day01
I feel like there might be a more elegant solution to Part2, but it's late and I'm biking both kids to school tomorrow, so this'll have to do for now.
-
It's Advent of Code time again and I'm getting ready!