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.

  1. 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"
    ]
    

  2. 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
    )
    )
    

  3. DoNotEscapeNonPrintable :: StringOutputStyle

    pretty-simple Text.Pretty.Simple.Internal.Printer

    Output non-printable characters without modification.

  4. EscapeNonPrintable :: StringOutputStyle

    pretty-simple Text.Pretty.Simple.Internal.Printer

    Replace non-printable characters with hexadecimal escape sequences.

  5. escapeNonPrintable :: String -> String

    pretty-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"
    

  6. logPrint :: forall a (m :: Type -> Type) . (Show a, MonadIO m) => LogAction m a

    co-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
    

  7. logPrintHandle :: forall a (m :: Type -> Type) . (Show a, MonadIO m) => Handle -> LogAction m a

    co-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
    

  8. logPrintStderr :: forall a (m :: Type -> Type) . (Show a, MonadIO m) => LogAction m a

    co-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
    

  9. withLogPrintFile :: forall a (m :: Type -> Type) r . (Show a, MonadIO m) => FilePath -> (LogAction m a -> IO r) -> IO r

    co-log-core Colog.Core.IO

    Action that prints to a file using Show. See withLogStringFile for details.

  10. layoutManagersPrintMsgE :: EditorM ()

    yi-core Yi.Editor

    Prints the description of the current layout manager in the status bar

Page 299 of many | Previous | Next