Stream: beginners

Topic: Advent of Code 2023 Day 15


view this post on Zulip Kwirke (Dec 15 2023 at 17:44):

To whomever may attempt today's challenge in Roc, beware that "Box" is a builtin type, don't use this name as a custom type.
I was seeing very strange type mismatches, since the compiler didn't complain about me redeclaring Box.
I don't have the latest version, so ignore this if this has been fixed.

view this post on Zulip Asbjørn Olling (Dec 15 2023 at 18:20):

I'm back! Have been sick for a week, so haven't been keeping up with aoc.

https://gitlab.com/AsbjornOlling/aoc2023/-/blob/main/15/main.roc

Not very happy with my solution today. It's kind of ugly. But it works.

view this post on Zulip Asbjørn Olling (Dec 15 2023 at 18:21):

oh wait this is #beginners - I'll head on over to the Advent of Code channel and post there :sweat_smile:

view this post on Zulip Brendan Hansknecht (Dec 15 2023 at 18:32):

@Kwirke can you open a issue with a minimal example? If possible, something that is self contained, but an issue in general is nice.

view this post on Zulip Kwirke (Dec 15 2023 at 19:08):

Done! https://github.com/roc-lang/roc/issues/6285


Last updated: Jul 06 2025 at 12:14 UTC