DEV Community


Discussion on: Optional chaining in Reason

johnridesabike profile image
John Jackson Author

Good points. As far as >>= goes, I picked it as my example because it’s used by bs-abstract and Relude (which uses bs-abstract).

Although, if you bind them to Belt’s functions, this may still feel “wrong” to people used to data-last infixes. There are tradeoffs no matter what infix you choose.

hoichi profile image
Sergey Samokhov • Edited

I’ve also heard (actually, read) Cheng Lou say they’d like to avoid infix operators in general, so probably monadic let is the way to go.