| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Util
Documentation
durations :: (Ord a, Show a, Foldable f) => (entry -> (Set a, LocalTime)) -> f entry -> Map a NominalDiffTime Source #
newtype DurationConfig Source #
Constructors
| DurConf | |
Fields
| |
Instances
| Show DurationConfig Source # | |
Defined in Util Methods showsPrec :: Int -> DurationConfig -> ShowS # show :: DurationConfig -> String # showList :: [DurationConfig] -> ShowS # | |
| Eq DurationConfig Source # | |
Defined in Util Methods (==) :: DurationConfig -> DurationConfig -> Bool # (/=) :: DurationConfig -> DurationConfig -> Bool # | |
data DurationUnit Source #
Instances
| Show DurationUnit Source # | |
Defined in Util Methods showsPrec :: Int -> DurationUnit -> ShowS # show :: DurationUnit -> String # showList :: [DurationUnit] -> ShowS # | |
| Eq DurationUnit Source # | |
Defined in Util | |
splitDiffTime :: DurationConfig -> NominalDiffTime -> [(Integer, DurationUnit)] Source #
showDiffTimeSplits :: [(Integer, DurationUnit)] -> String Source #
showDiffTime :: DurationConfig -> NominalDiffTime -> String Source #