Might as well post my day 6 since I have it done. Just linking straight to the code in part 2: https://github.com/bhansconnect/roc-aoc-2021/blob/trunk/day6/part2.roc#L62
This one turned out way simpler than I expected and went very smoothly.
Same: https://github.com/shritesh/advent/blob/main/2021/6.roc
Not very complicated, also not very clean code :innocent: https://github.com/ghigt/advent-of-code/blob/main/roc/day-6/part2.roc
Last updated: Jul 06 2025 at 12:14 UTC