simpleargs-0.2.1: Provides a more flexible getArgs function with better error reporting.

The simpleargs package

The provided getArgs returns an arbitrary tuple of values instead of a list of Strings. This means that the number and type (i.e. parseability) of parameters are checked, and reported to the user. The module is not a substitute for proper error handling (use System.Console.GetOpt for that), but is useful for making quick and dirty command line tools a bit less dirty, without sacrificing the quick part.

Properties

Versions0.1, 0.2.1
Dependenciesbase (≥3 & <5)
LicenseLGPL
AuthorKetil Malde
MaintainerKetil Malde <ketil@malde.org>
StabilityBeta
CategorySystem
Home pagehttp://malde.org/~ketil/simpleargs
Upload dateFri Sep 10 10:25:47 UTC 2010
Uploaded byKetilMalde
Built onghc-6.12, ghc-7.0

Modules

Downloads