Skip to content

Commit 0e295f5

Browse files
committed
Merge pull request #10 from hdgarrood/bind
Relax constraint on (>>=)
2 parents f03d590 + acf4968 commit 0e295f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Prelude.purs

+1-1
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)