Stream: advent of code

Topic: 2023 Day 19


view this post on Zulip Johan Lindskogen (Dec 19 2023 at 21:45):

After looking at the subreddit, I managed to solve day 19! https://github.com/lindskogen/advent-of-code-2023/blob/main/day19/main.roc

I think it came out quite pretty!

view this post on Zulip Fabian Schmalzried (Dec 24 2023 at 00:34):

I also finally had time for it: https://github.com/FabHof/aoc-2023/blob/main/day19/main.roc
First time I stored functions in records. Works like a charm.

Interstingly .x is a function that gets x from any record, but the same .x cannot get x from two different records. Makes a lot of sense, but the error message was quite strange.

view this post on Zulip Oskar Hahn (Dec 30 2023 at 12:34):

https://github.com/ostcar/aoc2023/blob/main/days/day19.roc

My first solution for part 1 was to "clever". So I had to rewrite it for part 2.


Last updated: Jul 06 2025 at 12:14 UTC