protolude-0.3.4: A small prelude.
Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Show

Documentation

class Print a Source #

Minimal complete definition

hPutStr, hPutStrLn

Instances

Instances details
Print ByteString Source # 
Instance details

Defined in Protolude.Show

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 # 
Instance details

Defined in Protolude.Show

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 # 
Instance details

Defined in Protolude.Show

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 # 
Instance details

Defined in Protolude.Show

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 # 
Instance details

Defined in Protolude.Show

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 #

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

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

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

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

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

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

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

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