#adventofcodeunison

2025-12-10

Advent of Code in Unison, Day 7

share.unison-lang.org/@nathani

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.

#unisonlang #adventofcode #adventofcodeunison

2025-12-09

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.

share.unison-lang.org/@nathani

#unisonlang #adventofcode #adventofcodeunison

2025-12-06

A hair late, but here's Advent of Code in Unison, Day 5!

share.unison-lang.org/@nathani

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. 😛

#adventofcode #adventofcodeunison #unisonlang

2025-12-04

Advent of Code in Unison, Day 4!

share.unison-lang.org/@nathani

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).

#unisonlang #adventofcode #adventofcodeunison

2025-12-03

Day03 of Advent of Code: the return of Joltage!

share.unison-lang.org/@nathani

A few hurdles dealing with List functions, but otherwise a pretty straightforward puzzle.

#unisonlang #adventofcode #adventofcodeunison

2025-12-02

Another day, another Advent of Code puzzle.

share.unison-lang.org/@nathani

Nothing terribly complicated here, though I did use streams instead of lists to avoid blowing up memory.

#adventofcode #adventofcodeunison

2025-12-02

Day 1 of Advent of Code in Unison down!

share.unison-lang.org/@nathani

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.

#adventofcode #adventofcodeunison

Harald Gliebehagl
2023-12-01

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst