Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

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

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

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

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

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

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

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

    extra Numeric.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"
    

  6. showDuration :: Seconds -> String

    extra System.Time.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"
    

  7. showsInfixPrec :: (Show a, Show b) => String -> Int -> Int -> a -> b -> ShowS

    utility-ht Text.Show.HT

    Show a value using an infix operator.

  8. showMigration :: forall (m :: Type -> Type) . (HasCallStack, MonadIO m) => Migration -> ReaderT SqlBackend m [Text]

    persistent Database.Persist.Sql.Migration

    Convert a Migration to a list of Text values corresponding to their Sql statements.

  9. showBuildTarget :: PackageId -> BuildTarget -> String

    Cabal Distribution.Simple.BuildTarget

    Unambiguously render a BuildTarget, so that it can be parsed in all situations.

  10. showUserBuildTarget :: UserBuildTarget -> String

    Cabal Distribution.Simple.BuildTarget

    No documentation available.

Page 61 of many | Previous | Next