relude-0.5.0: Custom prelude from Kowainik

Copyright(c) 2016 Stephen Diehl
(c) 2016-2018 Serokell
(c) 2018-2019 Kowainik
LicenseMIT
MaintainerKowainik <xrom.xkov@gmail.com>
Safe HaskellTrustworthy
LanguageHaskell2010

Relude.Print

Contents

Description

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

Synopsis

Text & LText

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

Lifted version of putStr.

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

Lifted version of putStrLn.

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

Lifted version of putStr.

putLTextLn :: MonadIO m => LText -> m () Source #

Lifted version of putStrLn.

ByteString & LByteString

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

Lifted version of putStr.

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

Lifted version of putStrLn.

putLBS :: MonadIO m => LByteString -> m () Source #

Lifted version of putStr.

putLBSLn :: MonadIO m => LByteString -> m () Source #

Lifted version of putStrLn.