Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. showPretty :: Show a => a -> String

    hedgehog Hedgehog.Internal.Show

    No documentation available.

  2. showHexadecimal :: (forall a . () => (Ptr Word8 -> IO a) -> IO a) -> Int -> String

    memory Data.Memory.Encoding.Base16

    Transform a raw memory to an hexadecimal String user beware, no checks are made

  3. showErrorComponent :: ShowErrorComponent a => a -> String

    megaparsec Text.Megaparsec.Error

    Pretty-print a component of ParseError.

  4. showErrorItem :: VisualStream s => Proxy s -> ErrorItem (Token s) -> String

    megaparsec Text.Megaparsec.Error

    Pretty-print an ErrorItem.

  5. showTokens :: VisualStream s => Proxy s -> NonEmpty (Token s) -> String

    megaparsec Text.Megaparsec.Stream

    Pretty-print non-empty stream of tokens. This function is also used to print single tokens (represented as singleton lists).

  6. showCursor :: IO ()

    ansi-terminal System.Console.ANSI

    No documentation available.

  7. showCursorCode :: String

    ansi-terminal System.Console.ANSI

    No documentation available.

  8. showException :: Show e => e -> IO String

    extra Control.Exception.Extra

    Show a value, but if the result contains exceptions, produce <Exception>. Defined as stringException . show. Particularly useful for printing exceptions to users, remembering that exceptions can themselves contain undefined values.

  9. showDP :: RealFloat a => Int -> a -> String

    extra Extra

    Show a number to a fixed number of decimal places.

    showDP 4 pi == "3.1416"
    showDP 0 pi == "3"
    showDP 2 3  == "3.00"
    

  10. showDuration :: Seconds -> String

    extra Extra

    Show a number of seconds, typically a duration, in a suitable manner with reasonable precision for a human.

    showDuration 3.435   == "3.44s"
    showDuration 623.8   == "10m24s"
    showDuration 62003.8 == "17h13m"
    showDuration 1e8     == "27777h47m"
    

Page 27 of many | Previous | Next