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.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 (<4.10) [details] |
License | LicenseRef-LGPL |
Author | Ketil Malde <ketil@malde.org> |
Maintainer | none |
Revised | Revision 1 made by AndreasAbel at 2021-10-23T08:42:36Z |
Home page | http://malde.org/~ketil/simpleargs |
Uploaded | by KetilMalde at 2008-03-06T14:05:44Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1945 total (11 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] |