You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)).
The text was updated successfully, but these errors were encountered:
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 likeIO
andResult
that don't technically implement Monad (because they'ret('a, 'e)
instead oft('a)
).The text was updated successfully, but these errors were encountered: