News for hackers. Stuff that matters.
Re:ReasonML – React as first intended by skosch on Thursday May 24, 2018 @11:53AM (#17145203)
True! I suppose I'm comparing to Elm mainly.
Re:ReasonML – React as first intended by boyswan on Thursday May 24, 2018 @12:01PM (#17145277)
Also for your issue with deeply nested options, have a look at this

https://medium.com/w3reality/working-with-option-using-maybe...

Re:ReasonML – React as first intended by bam365 on Thursday May 24, 2018 @12:41PM (#17145767)
And if you don't want to implement the option monad yourself, there's the bs-abstract library, which contains a bunch of category theory definitions and implementations. I have gotten a lot of mileage out of it even in the small amount of ReasonML I have written. That plus ppx_let offers a pretty good monadic programming experience.
Re:ReasonML – React as first intended by skosch on Thursday May 24, 2018 @12:56PM (#17145942)
Those are both helpful suggestions, thanks guys. I've looked at some of those blog posts and github threads before but haven't tried it out.

In the end, however, it's more bolted-on pieces that should be part of the language if you ask me.