The parseargs package

[Tags: bsd3, library, program]

Parse command-line arguments


[Skip to ReadMe]

Properties

Versions0.1, 0.1.2, 0.1.3, 0.1.3.1, 0.1.3.2, 0.1.3.4, 0.1.3.5, 0.1.5.2
Change logNone available
Dependenciesbase, containers [details]
LicenseBSD3
CopyrightCopyright (C) 2007 Bart Massey
AuthorBart Massey <bart@cs.pdx.edu>
MaintainerBart Massey <bart@cs.pdx.edu>
StabilityAlpha
CategorySystem.Console
Home pagehttp://wiki.cs.pdx.edu/bartforge/parseargs
Executablesparseargs-example
UploadedSun Mar 9 07:06:09 UTC 2008 by BartonMassey
DistributionsDebian:0.1.5.2, LTSHaskell:0.1.5.2, NixOS:0.1.5.2, Stackage:0.1.5.2
Downloads6067 total (156 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for parseargs-0.1

parseargs -- command-line argument parsing for Haskell programs
version 0.1
Bart Massey <bart@cs.pdx.edu>
8 March 2008

This library provides System.Console.Parseargs, a module to
assist in argument parsing for Haskell stand-alone command
line programs.

To use this library, your program needs a structured
description of the arguments it expects.  It supplies this
description to an argument parser, which creates a data
structure from which parsed arguments can be extracted as
needed.  See the Haddock documentation for the gory details.

I have used this code with ghc 6.6 and ghc 6.8 on Linux,
although the current cabal setup has only been tested with
cabal 1.2 and ghc 6.8.  It is a fairly standard
Hackage-ready package, to the extent I know how to construct
such.

This is not what I set out to build.  It definitely could
also use some work.  I use it all the time for writing
little programs, though.I thought others might find it
useful; I also have released other code that depends on it.

Have fun with it, and let me know if there are problems.