shithub: MicroHs

ref: b2c417daf11c7b5e6c369e6e4b36fb35cc18eae1
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