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

Safe HaskellNone
LanguageHaskell2010

FishFood.Data.File

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Allows one to find the size of a file, & to gather statistics on a population.
Synopsis

Types

Type-synonyms

type FileSize = Integer Source #

A type-synonym specifically to hold file-sizes (in bytes).

Functions

findSize :: FilePath -> IO FileSize Source #

Get the size of the specified file.

getFileSizeStatistics Source #

Arguments

:: (Fractional mean, Floating standardDeviation) 
=> [FileSize] 
-> (Int, mean, standardDeviation)

(The population-size, Mean size, Standard-deviation).

Acquire statistics related to a list of file-sizes.