fishfood-0.0.1.5: Calculates file-size frequency-distribution.

Safe HaskellNone
LanguageHaskell2010

FishFood.Profiler

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Profiles lists of file-sizes.

Synopsis

Types

Type-synonyms

Functions

calculateFileSizeDistribution :: (Floating ratio, RealFrac ratio) => CommandOptions ratio -> [FileSize] -> Writer [String] FileSizeDistribution Source

Calculates either the Probability Mass Function or Frequency-distribution for the specified files.

formatFileSizeDistribution :: CommandOptions ratio -> FileSizeDistribution -> String Source

Formats a file-size distribution.

Accessors

getFileSize :: Result -> FileSize Source

Accessor.

getValue :: Result -> Either Int Probability Source

Accessor.