buildbox-2.2.1.1: Rehackable components for writing buildbots and test harnesses.
BuildBox.Data.Physical
Synopsis
data Seconds Source #
Seconds of time, pretty printed in engineering format.
Constructors
Instances
Methods
(==) :: Seconds -> Seconds -> Bool #
(/=) :: Seconds -> Seconds -> Bool #
(+) :: Seconds -> Seconds -> Seconds #
(-) :: Seconds -> Seconds -> Seconds #
(*) :: Seconds -> Seconds -> Seconds #
negate :: Seconds -> Seconds #
abs :: Seconds -> Seconds #
signum :: Seconds -> Seconds #
fromInteger :: Integer -> Seconds #
compare :: Seconds -> Seconds -> Ordering #
(<) :: Seconds -> Seconds -> Bool #
(<=) :: Seconds -> Seconds -> Bool #
(>) :: Seconds -> Seconds -> Bool #
(>=) :: Seconds -> Seconds -> Bool #
max :: Seconds -> Seconds -> Seconds #
min :: Seconds -> Seconds -> Seconds #
readsPrec :: Int -> ReadS Seconds #
readList :: ReadS [Seconds] #
readPrec :: ReadPrec Seconds #
readListPrec :: ReadPrec [Seconds] #
toRational :: Seconds -> Rational #
showsPrec :: Int -> Seconds -> ShowS #
show :: Seconds -> String #
showList :: [Seconds] -> ShowS #
divide :: Seconds -> Seconds -> Seconds Source #
ppr :: Seconds -> Text Source #
data Bytes Source #
Bytes of data, pretty printed in engineering format.
(==) :: Bytes -> Bytes -> Bool #
(/=) :: Bytes -> Bytes -> Bool #
(+) :: Bytes -> Bytes -> Bytes #
(-) :: Bytes -> Bytes -> Bytes #
(*) :: Bytes -> Bytes -> Bytes #
negate :: Bytes -> Bytes #
abs :: Bytes -> Bytes #
signum :: Bytes -> Bytes #
fromInteger :: Integer -> Bytes #
compare :: Bytes -> Bytes -> Ordering #
(<) :: Bytes -> Bytes -> Bool #
(<=) :: Bytes -> Bytes -> Bool #
(>) :: Bytes -> Bytes -> Bool #
(>=) :: Bytes -> Bytes -> Bool #
max :: Bytes -> Bytes -> Bytes #
min :: Bytes -> Bytes -> Bytes #
readsPrec :: Int -> ReadS Bytes #
readList :: ReadS [Bytes] #
readPrec :: ReadPrec Bytes #
readListPrec :: ReadPrec [Bytes] #
toRational :: Bytes -> Rational #
showsPrec :: Int -> Bytes -> ShowS #
show :: Bytes -> String #
showList :: [Bytes] -> ShowS #
divide :: Bytes -> Bytes -> Bytes Source #
ppr :: Bytes -> Text Source #