relude-1.1.0.0: Safe, performant, user-friendly and lightweight Haskell Standard Library
Copyright(c) 2018-2022 Kowainik
LicenseMIT
MaintainerKowainik <xrom.xkov@gmail.com>
StabilityStable
PortabilityPortable
Safe HaskellSafe
LanguageHaskell2010

Relude.Lifted.Terminal

Description

Lifted functions to work with stdin and stdout.

Since: 0.3.0

Synopsis

Documentation

getLine :: MonadIO m => m Text Source #

Lifted version of getLine.

print :: forall a m. (MonadIO m, Show a) => a -> m () Source #

Lifted version of print.

putStr :: MonadIO m => String -> m () Source #

Lifted version of putStr.

putStrLn :: MonadIO m => String -> m () Source #

Lifted version of putStrLn.