| Copyright | (c) 2016 Stephen Diehl (c) 2016-2018 Serokell (c) 2018-2023 Kowainik |
|---|---|
| License | MIT |
| Maintainer | Kowainik <xrom.xkov@gmail.com> |
| Stability | Stable |
| Portability | Portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Relude.Print
Description
Functions like putStr and putStrLn but for Text, LText,
ByteString and LByteString.
Synopsis
- putText :: MonadIO m => Text -> m ()
- putTextLn :: MonadIO m => Text -> m ()
- putLText :: MonadIO m => LText -> m ()
- putLTextLn :: MonadIO m => LText -> m ()
- putBS :: MonadIO m => ByteString -> m ()
- putBSLn :: MonadIO m => ByteString -> m ()
- putLBS :: MonadIO m => LByteString -> m ()
- putLBSLn :: MonadIO m => LByteString -> m ()
Text & LText
putText :: MonadIO m => Text -> m () Source #
Lifted version of putStr.
>>>putText "Hello, world!"Hello, world!
putTextLn :: MonadIO m => Text -> m () Source #
Lifted version of putStrLn.
>>>putTextLn "Hello, world!"Hello, world!
putLText :: MonadIO m => LText -> m () Source #
Lifted version of putStr.
>>>putLText "Hello, world!"Hello, world!
putLTextLn :: MonadIO m => LText -> m () Source #
Lifted version of putStrLn.
>>>putLTextLn "Hello, world!"Hello, world!
ByteString & LByteString
putBS :: MonadIO m => ByteString -> m () Source #
putBSLn :: MonadIO m => ByteString -> m () Source #
putLBS :: MonadIO m => LByteString -> m () Source #