buildbox-1.5.1.1: Rehackable components for writing buildbots and test harnesses.
BuildBox.Aspect.Stats
Synopsis
data Stats a Source
Statistics extracted from many-valued data.
Constructors
Fields
Instances
makeStats :: (Real a, Dividable a) => [a] -> Stats aSource
Make statistics from a list of values.
predStats :: (a -> Bool) -> Stats a -> BoolSource
Return True if the predicate matches any of the min, avg, max values.
True
liftStats :: (a -> b) -> Stats a -> Stats bSource
Lift a function to each component of a Stats
Stats
liftStats2 :: (a -> b -> c) -> Stats a -> Stats b -> Stats cSource
Lift a binary function to each component of a Stats