HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulerelude-1.2.0.0Haskell2010

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.0.0
  • 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!