I tried to keep this one short, but I am planning on doing a deeper example with variant types and pattern matching. It’s slowly becoming the killer feature of ReScript for me.
Definitely one of the most important features of the language, especially in combination with pattern matching.
Wrote this a while ago about variants: Tagged Unions and ReScript Variants - DEV Community
My article would be even leaner in ReScript 11 bc I wouldn’t need this whole classification logic if I am not mistaken.
But to get back to the original post: I like the short format — keep them coming!
I definitely want to dive more into the way all of this works in v11. It looks awesome.