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

Safe HaskellNone

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

Functor Range 
Read a => Read (Range a) 
Show a => Show (Range a) 
Pretty a => Pretty (Range a) 

makeRange :: (Real a, Dividable a) => [a] -> Range aSource

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.