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

Safe HaskellNone
LanguageHaskell98

BuildBox.Data.Range

Synopsis

Documentation

data Range a Source

A range extracted from many-valued data.

Constructors

Range 

Fields

rangeMin :: a
 
rangeAvg :: a
 
rangeMax :: a
 

Instances

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.