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. pHPrint :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Similar to pPrint, but take a Handle to print to.

    >>> pHPrint stdout [Just (1, "hello")]
    [ Just
    ( 1
    , "hello"
    )
    ]
    

  2. pHPrintDarkBg :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Alias for pHPrint.

  3. pHPrintForceColor :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Similar to pPrintForceColor, but take a Handle to print to. See pHPrint for an example of how to use this function.

  4. pHPrintForceColorDarkBg :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Alias for pHPrintForceColor.

  5. pHPrintForceColorLightBg :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Just like pHPrintForceColorDarkBg, but for printing to a light background.

  6. pHPrintLightBg :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Just like pHPrintDarkBg, but for printing to a light background.

  7. pHPrintNoColor :: (MonadIO m, Show a) => Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Like pPrintNoColor, but take a Handle to determine where to print to.

    >>> pHPrintNoColor stdout $ Just ["hello", "bye"]
    Just
    [ "hello"
    , "bye"
    ]
    

  8. pHPrintOpt :: (MonadIO m, Show a) => CheckColorTty -> OutputOptions -> Handle -> a -> m ()

    pretty-simple Text.Pretty.Simple

    Similar to pPrintOpt, but take a Handle to determine where to print to.

  9. pHPrintString :: MonadIO m => Handle -> String -> m ()

    pretty-simple Text.Pretty.Simple

    Similar to pHPrintString, but take a Handle to print to.

    >>> pHPrintString stdout $ show [ Just (1, "hello"), Nothing ]
    [ Just
    ( 1
    , "hello"
    )
    , Nothing
    ]
    

  10. pHPrintStringDarkBg :: MonadIO m => Handle -> String -> m ()

    pretty-simple Text.Pretty.Simple

    Alias for pHPrintString.

Page 296 of many | Previous | Next