shithub: MicroHs

ref: 4684ef5c92371024f7a8ae867fd60ff5eb6e98f5
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