fix: morph

This commit is contained in:
orion 2023-11-22 09:47:12 -06:00
parent 0e048f69a7
commit fe21a2e7ab
Signed by: orion
GPG Key ID: 6D4165AE4C928719
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package:
- aff
- arrays
- avar
- mmorph
- unlift
name: sync
test:

View File

@ -6,6 +6,7 @@ import Control.Alt (class Alt)
import Control.Alternative (class Alternative, class Plus)
import Control.Monad.Error.Class (class MonadError, class MonadThrow, liftEither, try)
import Control.Monad.Fork.Class (class MonadBracket, class MonadFork, class MonadKill, bracket, kill, never, uninterruptible)
import Control.Monad.Morph (class MFunctor, class MMonad)
import Control.Monad.Reader (class MonadAsk, ReaderT(..), ask)
import Control.Monad.Rec.Class (class MonadRec)
import Control.Monad.Trans.Class (class MonadTrans, lift)
@ -267,6 +268,8 @@ newtype AsyncStateT w s m ma = AsyncStateT (ReaderT (w s) m ma)
derive instance Newtype (AsyncStateT w s m ma) _
derive newtype instance MonadTrans (AsyncStateT w s)
derive newtype instance MMonad (AsyncStateT w s)
derive newtype instance MFunctor (AsyncStateT w s)
derive newtype instance (MonadPlus m) => MonadPlus (AsyncStateT w s m)
derive newtype instance (Alternative m) => Alternative (AsyncStateT w s m)
derive newtype instance (Alt m) => Alt (AsyncStateT w s m)