shithub: MicroHs

ref: 6ee5b5e8428ca78ea1d5a675fb34ccc5b36ef680
dir: /lib/Control/Monad/IO/Class.hs/

View raw version
module Control.Monad.IO.Class (MonadIO(..)) where
import Prelude()
import Data.Char
import Control.Applicative
import Control.Monad
import System.IO

class (Monad m) => MonadIO m where
  liftIO :: IO a -> m a

instance MonadIO IO where
  liftIO io = io