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
| Versions | 0.1, 0.2.1 |
|---|---|
| Dependencies | base (≥3 & <5) |
| License | LGPL |
| Author | Ketil Malde |
| Maintainer | Ketil Malde <ketil@malde.org> |
| Stability | Beta |
| Category | System |
| Home page | http://malde.org/~ketil/simpleargs |
| Upload date | Fri Sep 10 10:25:47 UTC 2010 |
| Uploaded by | KetilMalde |
| Built on | ghc-6.12, ghc-7.0 |
Modules
- System
Downloads
- simpleargs-0.2.1.tar.gz (Cabal source package)
- package description (included in the package)