buildbox-2.2.1.2: Rehackable components for writing buildbots and test harnesses.

Safe HaskellSafe
LanguageHaskell98

BuildBox.Data.Physical

Synopsis

Documentation

data Seconds Source #

Seconds of time, pretty printed in engineering format.

Constructors

Seconds Double 
Instances
Eq Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

(==) :: Seconds -> Seconds -> Bool #

(/=) :: Seconds -> Seconds -> Bool #

Num Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Ord Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Read Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Real Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Show Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Dividable Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Pretty Seconds Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

ppr :: Seconds -> Text Source #

data Bytes Source #

Bytes of data, pretty printed in engineering format.

Constructors

Bytes Integer 
Instances
Eq Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

(==) :: Bytes -> Bytes -> Bool #

(/=) :: Bytes -> Bytes -> Bool #

Num Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Ord Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

compare :: Bytes -> Bytes -> Ordering #

(<) :: Bytes -> Bytes -> Bool #

(<=) :: Bytes -> Bytes -> Bool #

(>) :: Bytes -> Bytes -> Bool #

(>=) :: Bytes -> Bytes -> Bool #

max :: Bytes -> Bytes -> Bytes #

min :: Bytes -> Bytes -> Bytes #

Read Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Real Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

toRational :: Bytes -> Rational #

Show Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

Dividable Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

divide :: Bytes -> Bytes -> Bytes Source #

Pretty Bytes Source # 
Instance details

Defined in BuildBox.Data.Physical

Methods

ppr :: Bytes -> Text Source #