Skip to content

Commit e554ad6

Browse files
committed
add apply = ap law
1 parent b18be09 commit e554ad6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Control/Monad.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import Data.Unit (Unit)
2727
-- |
2828
-- | - Left Identity: `pure x >>= f = f x`
2929
-- | - Right Identity: `x >>= pure = x`
30+
-- | - Applicative Superclass: `apply = ap`
3031
class (Applicative m, Bind m) <= Monad m
3132

3233
instance monadFn :: Monad ((->) r)

0 commit comments

Comments
 (0)