I finally made a package for the 2d array module I started working on for AoC puzzles
https://github.com/mulias/roc-array2d
Here it is replacing the local implementations I had for days 8 and 14
https://github.com/mulias/roctoberfest/commit/9708ae6eb45cf2ef2323721d2c87cc7f95b31fbc
It's still rough, but it works! The main issue is still related to optional record fields, which I'm using to make walk
and walkUntil
more configurable. Right now the compiler is convinced that all of the optional record fields must be provided explicitly, which is counter productive and ugly, but better than crashing!
Sounds like a good bug to file
Last updated: Jul 06 2025 at 12:14 UTC