Copyright | (c) Erich Gut |
---|---|
License | BSD3 |
Maintainer | zerich.gut@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
a tool kit for making statistics.
Synopsis
- mkStatisticW :: Ord x => [x -> String] -> [(Int, x)] -> (Int, [(Double, [String], x)])
- mkStatistic :: Ord x => [x -> String] -> [x] -> (Int, [(Double, [String], x)])
- putStatisticW :: (Show x, Ord x) => [x -> String] -> [(Int, x)] -> IO ()
- putStatistic :: (Show x, Ord x) => [x -> String] -> [x] -> IO ()
Statistic
mkStatisticW :: Ord x => [x -> String] -> [(Int, x)] -> (Int, [(Double, [String], x)]) Source #
makes the statistics of the given list of wight, value pairs.
mkStatistic :: Ord x => [x -> String] -> [x] -> (Int, [(Double, [String], x)]) Source #
makes the statistics of the given list of values.