Earlier this year, we created a ppx_let, a PPX rewriter that introduces a syntax for working with monadic and applicative libraries like Command, Async, Result and Incremental. We’ve now amassed about six months of experience with it, and we’ve now seen enough to recommend it to a wider audience.
For those of you who haven’t seen it, let syntax lets you write this:
- let%bind <var> = <expr1> in <expr2>
instead of this: