https://gist.github.com/mulias/e87ccf5402dcf6d58ae18e6cc945e7cb
https://github.com/ostcar/aoc2023/blob/main/days/day14.roc
@Oskar Hahn
Elias Mulhall said:
Oskar Hahn
Answer
Ah that makes sense! I did that with the example to check my math.
In part 2 my recursive function is totally broken. The values turn into utter garbage, I think this is a compiler bug.
Can you share your code @Fabian Schmalzried?
@Anton Sure here it is: https://github.com/FabHof/aoc-2023/blob/cd1bab067b21e778cbd516f1607bcd38793090a6/day14/main.roc I just hat time to add a small comment.
Here's my day 14 https://github.com/ryanb/advent-2023-roc/blob/main/day14/main.roc
Spoiler
My day 14: https://github.com/timotree3/aoc2023/blob/main/roc/day14.roc
Algorithm
Fancy!
Last updated: Jul 06 2025 at 12:14 UTC