simpleargs: Provides a more flexible getArgs function with better error reporting.
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.
[Skip to Readme]
Downloads
- simpleargs-0.2.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2.1 |
---|---|
Dependencies | base (>=3 && <4.10) [details] |
Tested with | ghc ==6.10.4 |
License | LicenseRef-LGPL |
Author | Ketil Malde |
Maintainer | Ketil Malde <ketil@malde.org> |
Revised | Revision 1 made by AndreasAbel at 2021-10-23T08:40:01Z |
Category | System |
Home page | http://malde.org/~ketil/simpleargs |
Uploaded | by KetilMalde at 2010-09-10T10:25:47Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1954 total (4 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |