formatting-6.2.1: Combinator-based type-safe formatting (like printf() or FORMAT)

Safe HaskellNone
LanguageHaskell98

Formatting.Clock

Description

Formatters for high-res, real-time and timer clock values from System.Clock.

Synopsis

Documentation

timeSpecs :: Format r (TimeSpec -> TimeSpec -> r) Source

Format the duration from start to end (args passed in that order).

Examples:

4.00 s
500.69 ms
1.20 ms
19.38 µs