Skip to content

Commit 1addd7d

Browse files
committed
Merge pull request #11 from purescript/revert-10-bind
Revert "Relax constraint on (>>=)"
2 parents 0e295f5 + e9bf9bd commit 1addd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Prelude.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ foreign import arrayBind
349349
}
350350
""" :: forall a b. Array a -> (a -> Array b) -> Array b
351351

352-
(>>=) :: forall m a b. (Bind m) => m a -> (a -> m b) -> m b
352+
(>>=) :: forall m a b. (Monad m) => m a -> (a -> m b) -> m b
353353
(>>=) = bind
354354

355355
-- | The `Monad` type class combines the operations of the `Bind` and

0 commit comments

Comments
 (0)