I've just seen a link to @Sam Mohr's AoC 2023 solutions repo, referenced in his Reddit post on Weaver.
Strangely enough GitHub says the repository is made up of Elm and Nix files, even though there isn't a single Elm file.
I've been wondering if this is a GitHub bug or something else?
Could it have to do with the recent import
syntax work?
Screenshot_2024-05-06-09-38-50-09_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
Screenshot_2024-05-06-09-39-04-09_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
Nope, that was me
Look at the gitattributes file. Since Roc syntax highlighting didn't exist at the time, I lied to GitHub and said it was Elm. I should get rid of that now that Roc is officially supported
Removed! It says it's all Roc now
Right, I see - I didn't know this trick! Thanks! I've learned something new today!
I was wondering how it might've been possible for this discrepancy to have arisen, but I saw the code was updated 7 hours ago, and my first assumption was that GitHub had gotten confused.
Hristo has marked this topic as resolved.
Yeah, not a bad assumption.
Last updated: Jul 06 2025 at 12:14 UTC