Description
Defines time units as Haskell types. Representing seconds, milliseconds, and related units at the type level helps code express which unit a value uses.
It is useful for APIs that pass durations, timeouts, retry intervals, or scheduling values. Clear units reduce mistakes such as treating milliseconds as seconds, but developers still need to convert units intentionally.