TZ
Size: a a a
TZ
A
A
к
A
A
к
к
A
A
к
A
class MPrint a where
putStrLn :: MonadIO m => a -> m ()
instance MPrint String where
putStrLn = liftIO . Prelude.putStrLn
instance MPrint S8 where
putStrLn = liftIO . C8.putStrLn
instance MPrint S8L where
putStrLn = liftIO . C8L.putStrLn
A
к
к
к
к
A
A
class MPrint a where
putStrLn :: MonadIO m => a -> m ()
instance {-# INCOHERENT #-} a ~ String => MPrint a where
putStrLn = liftIO . Prelude.putStrLn
instance MPrint S8 where
putStrLn = liftIO . C8.putStrLn
instance MPrint S8L where
putStrLn = liftIO . C8L.putStrLn