Skip to content

Commit 1dcdd5c

Browse files
committed
Merge pull request #12 from hdgarrood/revert-11-revert-10-bind
Revert "Revert "Relax constraint on (>>=)""
2 parents 1addd7d + d826cf8 commit 1dcdd5c

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. (Monad m) => m a -> (a -> m b) -> m b
352+
(>>=) :: forall m a b. (Bind 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)