shithub: MicroHs

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