universum-1.2.0: Custom prelude used in Serokell
Universum.Print
Description
Generalization of putStr and putStrLn functions.
putStr
putStrLn
Synopsis
class Print a where Source #
Polymorfic over string and lifted to MonadIO printing functions.
MonadIO
Minimal complete definition
putStr, putStrLn
Methods
putStr :: MonadIO m => a -> m () Source #
putStrLn :: MonadIO m => a -> m () Source #
Instances
putStr :: MonadIO m => ByteString -> m () Source #
putStrLn :: MonadIO m => ByteString -> m () Source #
putStr :: MonadIO m => Text -> m () Source #
putStrLn :: MonadIO m => Text -> m () Source #
putStr :: MonadIO m => [Char] -> m () Source #
putStrLn :: MonadIO m => [Char] -> m () Source #
print :: forall a m. (MonadIO m, Show a) => a -> m () Source #
Lifted version of print.
print
putText :: MonadIO m => Text -> m () Source #
Specialized to Text version of putStr or forcing type inference.
Text
putTextLn :: MonadIO m => Text -> m () Source #
Specialized to Text version of putStrLn or forcing type inference.
putLText :: MonadIO m => Text -> m () Source #
putLTextLn :: MonadIO m => Text -> m () Source #