Anyone plans to do Advent of Code in Rescript?

https://adventofcode.com/

1 Like

I actually started doing this last year. when I first found out about Advent of Code. But I started back with the 2015 challenges–so it will be a while before I get to the current stuff :smiley:

It’s been a great way to get a better understanding of ReScript–especially when you start thinking of how much easier it would be to not do some things using ReScript. Initially it was frustrating but then I thought about how a lot of JavaScript’s “flexibility” has also been the source of pain in projects.

Yep! I think it would be a good way to acknowledge oneself with the standard library too.
I’m past the getting started guide, but uh how do I flatten an array??

Assuming that wasn’t a rhetorical question: Belt.Array.concatMany

Going to use AoC 2021 to figure out whether I like ReScript enough.

I am using ReScript for AdventOfCode 2021.

3 Likes

I’m doing it too! https://github.com/yangdanny97/advent-of-code

1 Like

Thought I share mine too: https://github.com/formsandlines/aoc2021-rescript

Since this is my first-ever AoC, I appreciate the opportunity to learn from different approaches and get better at ReScript (or FP in general).