Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pPrintStringNoColor :: MonadIO m => String -> m ()pretty-simple Text.Pretty.Simple Similar to pPrintString, but doesn't print in color. However, data types will still be indented nicely.
>>> pPrintStringNoColor $ show $ Just ["hello", "bye"] Just [ "hello" , "bye" ]
pPrintStringOpt :: MonadIO m => CheckColorTty -> OutputOptions -> String -> m ()pretty-simple Text.Pretty.Simple Similar to pPrintOpt, but the last argument is a string representing a data structure that has already been showed.
>>> let foo = show (1, (2, "hello", 3)) >>> pPrintStringOpt CheckColorTty defaultOutputOptionsNoColor foo ( 1 , ( 2 , "hello" , 3 ) )
DoNotEscapeNonPrintable :: StringOutputStylepretty-simple Text.Pretty.Simple.Internal.Printer Output non-printable characters without modification.
EscapeNonPrintable :: StringOutputStylepretty-simple Text.Pretty.Simple.Internal.Printer Replace non-printable characters with hexadecimal escape sequences.
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