protolude-0.2.2: A small prelude.

Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Show

Documentation

class Print a where Source #

Minimal complete definition

hPutStr, hPutStrLn

Methods

hPutStr :: MonadIO m => Handle -> a -> m () Source #

putStr :: MonadIO m => a -> m () Source #

hPutStrLn :: MonadIO m => Handle -> a -> m () Source #

putStrLn :: MonadIO m => a -> m () Source #

putErrLn :: MonadIO m => a -> m () Source #

Instances

Print ByteString Source # 

Methods

hPutStr :: MonadIO m => Handle -> ByteString -> m () Source #

putStr :: MonadIO m => ByteString -> m () Source #

hPutStrLn :: MonadIO m => Handle -> ByteString -> m () Source #

putStrLn :: MonadIO m => ByteString -> m () Source #

putErrLn :: MonadIO m => ByteString -> m () Source #

Print ByteString Source # 

Methods

hPutStr :: MonadIO m => Handle -> ByteString -> m () Source #

putStr :: MonadIO m => ByteString -> m () Source #

hPutStrLn :: MonadIO m => Handle -> ByteString -> m () Source #

putStrLn :: MonadIO m => ByteString -> m () Source #

putErrLn :: MonadIO m => ByteString -> m () Source #

Print Text Source # 

Methods

hPutStr :: MonadIO m => Handle -> Text -> m () Source #

putStr :: MonadIO m => Text -> m () Source #

hPutStrLn :: MonadIO m => Handle -> Text -> m () Source #

putStrLn :: MonadIO m => Text -> m () Source #

putErrLn :: MonadIO m => Text -> m () Source #

Print Text Source # 

Methods

hPutStr :: MonadIO m => Handle -> Text -> m () Source #

putStr :: MonadIO m => Text -> m () Source #

hPutStrLn :: MonadIO m => Handle -> Text -> m () Source #

putStrLn :: MonadIO m => Text -> m () Source #

putErrLn :: MonadIO m => Text -> m () Source #

Print [Char] Source # 

Methods

hPutStr :: MonadIO m => Handle -> [Char] -> m () Source #

putStr :: MonadIO m => [Char] -> m () Source #

hPutStrLn :: MonadIO m => Handle -> [Char] -> m () Source #

putStrLn :: MonadIO m => [Char] -> m () Source #

putErrLn :: MonadIO m => [Char] -> m () Source #

putText :: MonadIO m => Text -> m () Source #

putErrText :: MonadIO m => Text -> m () Source #

putLText :: MonadIO m => Text -> m () Source #