Skip to content

Commit e719013

Browse files
authored
Add functional dependency to MonadEff
1 parent d6c32f8 commit e719013

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)