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.

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

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

  3. 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
    

  4. 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
    

  5. 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.

  6. layoutManagersPrintMsgE :: EditorM ()

    yi-core Yi.Editor

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

  7. bprint :: Format Builder a -> a

    formatting Formatting

    Run the formatter and return a Builder value.

  8. fprint :: MonadIO m => Format (m ()) a -> a

    formatting Formatting

    Run the formatter and print out the text to stdout.

  9. fprintLn :: MonadIO m => Format (m ()) a -> a

    formatting Formatting

    Run the formatter and print out the text to stdout, followed by a newline.

  10. hprint :: MonadIO m => Handle -> Format (m ()) a -> a

    formatting Formatting

    Run the formatter and put the output onto the given Handle.

Page 188 of many | Previous | Next