shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Configuration.Data.ConsoleLogging.TimerFormat

Description

Provides the TimerFormat type.

Synopsis

Type

Parsing

parseTimerFormat :: MonadFail m => m Text -> m TimerFormat Source #

Parse timer format.

timerFormatStr :: IsString a => a Source #

Available TimerFormat strings.

Formatting

formatSeconds :: TimerFormat -> Natural -> UnlinedText Source #

Formats a relative time seconds.