We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fddea49 + 8a483dd commit f04f481Copy full SHA for f04f481
1 file changed
src/Control/Monad/IO/Class/Linear.hs
@@ -24,3 +24,9 @@ instance MonadIO Linear.IO where
24
25
instance MonadIO RIO where
26
liftIO = RIO.fromIO
27
+
28
+instance (MonadIO m) => MonadIO (Linear.StateT s m) where
29
+ liftIO = Linear.lift . liftIO
30
31
+instance (MonadIO m, Dupable r) => MonadIO (Linear.ReaderT r m) where
32
0 commit comments