Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 74acc8f

Browse files
authored
Merge pull request #13 from purescript/fundeps
Add functional dependency to MonadEff
2 parents d6c32f8 + e719013 commit 74acc8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Monad/Eff/Class.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Control.Monad.Eff (Eff)
1616
-- | inference can be tricky. It is generally recommended to either work with a
1717
-- | polymorphic row of effects, or a concrete, closed row of effects such as
1818
-- | `(trace :: Trace)`.
19-
class Monad m <= MonadEff eff m where
19+
class Monad m <= MonadEff eff m | m -> eff where
2020
liftEff :: forall a. Eff eff a -> m a
2121

2222
instance monadEffEff :: MonadEff eff (Eff eff) where

0 commit comments

Comments
 (0)