Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- time :: MonadIO m => m a -> m (NominalDiffTime, a)
- prettySeconds :: NominalDiffTime -> String
- getCurrentTimeWithOverride :: IO UTCTime
Documentation
time :: MonadIO m => m a -> m (NominalDiffTime, a) #
Measure how long action took, in seconds along with its result
prettySeconds :: NominalDiffTime -> String #