Safe Haskell | None |
---|---|
Language | GHC2024 |
Synopsis
- time :: MonadIO m => m a -> m (NominalDiffTime, a)
- prettySeconds :: NominalDiffTime -> Text
- getCurrentTimeWithOverride :: IO UTCTime
- data Estimate
- addEstimate :: Estimate -> Estimate -> Estimate
- maxEstimate :: Estimate -> Estimate -> Estimate
- prettyEstimate :: (NominalDiffTime -> Text) -> Estimate -> Text
Documentation
time :: MonadIO m => m a -> m (NominalDiffTime, a) #
Measure how long action took, in seconds along with its result
prettySeconds :: NominalDiffTime -> Text #
addEstimate :: Estimate -> Estimate -> Estimate #
maxEstimate :: Estimate -> Estimate -> Estimate #
prettyEstimate :: (NominalDiffTime -> Text) -> Estimate -> Text #