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 |
| License | LGPL |
| Author | Ketil Malde <ketil@malde.org> |
| Stability | Beta |
| Category | |
| Home page | http://malde.org/~ketil/simpleargs |
| Upload date | Thu Mar 6 14:05:44 UTC 2008 |
| Uploaded by | KetilMalde |
| Built on | ghc-6.10, ghc-6.12, ghc-6.8 |
Modules
- System
Downloads
- simpleargs-0.1.tar.gz (Cabal source package)
- package description (included in the package)