relude icon indicating copy to clipboard operation
relude copied to clipboard

We're maybe not exporting `let*`, `let+` and `and+`

Open mlms13 opened this issue 4 months ago • 0 comments

Back in the day, we had added support for OCaml's binding-ops for everything that implemented monad and applicative/functor. I think maybe that work never got merged because Bucklescript refused to support this feature?

Now that we're on Melange, we should definitely add those back. And also, we should add a special case let (let*) = bind to modules like IO and Result that don't technically implement Monad (because they're t('a, 'e) instead of t('a)).

mlms13 avatar Feb 21 '24 22:02 mlms13