|
|
|
|
|
by bam365
2952 days ago
|
|
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. |
|
In the end, however, it's more bolted-on pieces that should be part of the language if you ask me.