fix: relax constraints on MonadKill
This commit is contained in:
parent
2ca46d43a5
commit
0e048f69a7
@ -289,7 +289,7 @@ instance (Parallel f m) => Parallel (AsyncStateT w s f) (AsyncStateT w s m) wher
|
|||||||
parallel a = wrap $ parallel $ unwrap a
|
parallel a = wrap $ parallel $ unwrap a
|
||||||
sequential a = wrap $ sequential $ unwrap a
|
sequential a = wrap $ sequential $ unwrap a
|
||||||
|
|
||||||
instance (MonadError e m, MonadKill e f m) => MonadKill e f (AsyncStateT w s m) where
|
instance MonadKill e f m => MonadKill e f (AsyncStateT w s m) where
|
||||||
kill e f = wrap $ kill e f
|
kill e f = wrap $ kill e f
|
||||||
|
|
||||||
instance (MonadBracket e f m) => MonadBracket e f (AsyncStateT w s m) where
|
instance (MonadBracket e f m) => MonadBracket e f (AsyncStateT w s m) where
|
||||||
|
Loading…
Reference in New Issue
Block a user