æ¨æ¥ã®ã¢ãããã©ã³ã¹ãã©ã¼ãã¼ã®åå¼·ä¸ã«ä½¿ã£ãliftIOã§ãããåéãããã¦ãããã¨ã«ãã£ã¨æ°ãã¤ãã¾ãããliftIOã®åæ å ±ã¯ liftIO :: IO a -> m a ã¨ããã®é¢æ°ã ãè¦ãã¨IOã¢ã¯ã·ã§ã³ãã»ãã®ã©ããªå½¢ã®ã¢ããã«ã§ãæ¿ãæ¿ãã¦ããããããã¼ãªé¢æ°ã®ããã«ããè¦ããªãã£ãã®ã§ãããããã¡ãã£ã¨å¨ããè¦ãã¨ãå®ã¯ããã®liftIOã¯MonadIOã¨ããã¯ã©ã¹ã®ã¡ã½ãããªãã§ãããããã¦ããã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹å®£è¨ã®ã»ãã«ã大åãªæ å ±ãé ãã¦ãã¾ããã class Monad m => MonadIO m where liftIO :: IO a -> m a Instances MonadIO IO MonadIO m => MonadIO (ListT m) MonadIO m => MonadIO (ContT r m) (Error e, MonadIO m
{{#tags}}- {{label}}
{{/tags}}