Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. formatterItemStarted :: Formatter -> Path -> FormatM ()

    hspec-api Test.Hspec.Api.Formatters.V3

    No documentation available.

  2. formatterProgress :: Formatter -> Path -> Progress -> FormatM ()

    hspec-api Test.Hspec.Api.Formatters.V3

    No documentation available.

  3. formatterStarted :: Formatter -> FormatM ()

    hspec-api Test.Hspec.Api.Formatters.V3

    No documentation available.

  4. formatterToFormat :: Formatter -> FormatConfig -> IO Format

    hspec-api Test.Hspec.Api.Formatters.V3

    No documentation available.

  5. formatAsIso8601 :: UTCTime -> Text

    katip Katip.Format.Time

    Format UTCTime into a Iso8601 format. Note that this function may overcommit up to 12*2 bytes, depending on sub-second precision. If this is an issue, make a copy with a copy.

    >>> formatAsIso8601 $ UTCTime (fromGregorian 2016 1 23) 5025.123456789012
    "2016-11-23T01:23:45.123456789012Z"
    
    >>> formatAsIso8601 $ UTCTime (fromGregorian 2016 1 23) 5025.123
    "2016-01-23T01:23:45.123Z"
    
    >>> formatAsIso8601 $ UTCTime (fromGregorian 2016 1 23) 5025
    "2016-01-23T01:23:45Z"
    

  6. formatAsLogTime :: UTCTime -> Text

    katip Katip.Format.Time

    Format UTCTime into a short human readable format.

    >>> formatAsLogTime $ UTCTime (fromGregorian 2016 1 23) 5025.123456789012
    "2016-01-23 01:23:45"
    

  7. formatItem :: LogItem a => ItemFormatter a

    katip Katip.Scribes.Handle

    Deprecated: Use bracketFormat instead

  8. forLoop :: Monad m => a -> (a -> Bool) -> (a -> a) -> (a -> m ()) -> m ()

    loop Control.Loop

    forLoop start cond inc f: A C-style for loop with starting value, loop condition and incrementor.

  9. forLoopFold :: a -> (a -> Bool) -> (a -> a) -> acc -> (acc -> a -> acc) -> acc

    loop Control.Loop

    forLoopFold start cond inc acc0 f: A pure fold using a for loop instead of a list for performance. Care is taken that acc0 not be strictly evaluated if unless done so by f.

  10. forLoopState :: Monad m => a -> (a -> Bool) -> (a -> a) -> b -> (b -> a -> m b) -> m b

    loop Control.Loop

    forLoopState start cond inc initialState f: A C-style for loop with starting value, loop condition, incrementor and a state that is threaded through the computation.

Page 122 of many | Previous | Next