Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
escapeNonPrintable :: String -> Stringpretty-simple Text.Pretty.Simple.Internal.Printer Replace non-printable characters with hex escape sequences.
>>> escapeNonPrintable "\x1\x2" "\\x1\\x2"
Newlines will not be escaped.>>> escapeNonPrintable "hello\nworld" "hello\nworld"
Printable characters will not be escaped.>>> escapeNonPrintable "h\101llo" "hello"
logPrint :: forall a (m :: Type -> Type) . (Show a, MonadIO m) => LogAction m aco-log-core Colog.Core.IO Action that prints to stdout using Show. This action does not flush the output buffer. If buffering mode is block buffering, the effect of this action can be delayed.
>>> logPrint <& 5 5
logPrintHandle :: forall a (m :: Type -> Type) . (Show a, MonadIO m) => Handle -> LogAction m aco-log-core Colog.Core.IO Action that prints to a Handle using Show. This action does not flush the output buffer. If buffering mode is block buffering, the effect of this action can be delayed.
>>> logPrintHandle stderr <& 5 5
logPrintStderr :: forall a (m :: Type -> Type) . (Show a, MonadIO m) => LogAction m aco-log-core Colog.Core.IO Action that prints to stderr using Show. This action does not flush the output buffer. If buffering mode is block buffering, the effect of this action can be delayed.
>>> logPrintStderr <& 5 5
-
co-log-core Colog.Core.IO Action that prints to a file using Show. See withLogStringFile for details.
layoutManagersPrintMsgE :: EditorM ()yi-core Yi.Editor Prints the description of the current layout manager in the status bar
bprint :: Format Builder a -> aformatting Formatting Run the formatter and return a Builder value.
fprint :: MonadIO m => Format (m ()) a -> aformatting Formatting Run the formatter and print out the text to stdout.
fprintLn :: MonadIO m => Format (m ()) a -> aformatting Formatting Run the formatter and print out the text to stdout, followed by a newline.
hprint :: MonadIO m => Handle -> Format (m ()) a -> aformatting Formatting Run the formatter and put the output onto the given Handle.