buildbox-2.2.1.2: Rehackable components for writing buildbots and test harnesses.
BuildBox.Data.Range
data Range a Source #
A range extracted from many-valued data.
Constructors
Fields
Defined in BuildBox.Data.Range
Methods
fmap :: (a -> b) -> Range a -> Range b #
(<$) :: a -> Range b -> Range a #
readsPrec :: Int -> ReadS (Range a) #
readList :: ReadS [Range a] #
readPrec :: ReadPrec (Range a) #
readListPrec :: ReadPrec [Range a] #
showsPrec :: Int -> Range a -> ShowS #
show :: Range a -> String #
showList :: [Range a] -> ShowS #
ppr :: Range a -> Text Source #
makeRange :: (Real a, Dividable a) => [a] -> Range a Source #
Make statistics from a list of values.
flattenRange :: Range a -> [a] Source #
Flatten a Range into a list of its min, avg and max values.
Range