realworldocaml / mdx

Execute code blocks inside your documentation
ISC License
269 stars 45 forks source link

Use `let*` operators instead of infix operators #399

Closed Leonidas-from-XIV closed 2 years ago

Leonidas-from-XIV commented 2 years ago

At least in most places. Where it is used as piping operator, it still makes sense to use the infix versions.

Given our lower bound for OCaml is 4.08, it should be okay to use them and I feel them make the code a bit easier to read, since you get to avoid >>= fun xyzzy -> overhead.