HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulerelude-1.2.2.2Haskell2010

Relude.Print

SPDX-License-Identifier : MIT Maintainer : Kowainik xrom.xkov@gmail.com Stability : Stable Portability : Portable

Functions like putStr and putStrLn but for Text, LText, ByteString and LByteString.

  • 8 values
  • Packagerelude-1.2.2.2
  • Exports8
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePrint.hs

Text & LText

4 declarations
valueputText :: MonadIO m => Text -> m ()
#

Lifted version of putStr.

Example1 expression
putText "Hello, world!"Hello, world!

ByteString & LByteString

4 declarations
valueputBS :: MonadIO m => ByteString -> m ()
#

Lifted version of putStr.

Example1 expression
putBS ("Hello, world!" :: ByteString)Hello, world!