The parseargs package

[Tags: bsd3, library, program]

Parse command-line arguments

[Skip to ReadMe]


Versions0.1, 0.1.2, 0.1.3,,,,,, 0.2,,,
Change logNone available
Dependenciesbase (<4.7), containers (<=1) [details]
CopyrightCopyright (C) 2008 Bart Massey
AuthorBart Massey <>
MaintainerBart Massey <>
Home page
UploadedSun Jan 30 16:47:48 UTC 2011 by BartonMassey
UpdatedWed May 13 13:29:10 UTC 2015 by AdamBergmark to revision 1
DistributionsDebian:, LTSHaskell:, NixOS:, Stackage:
Downloads6358 total (59 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for parseargs-

parseargs -- command-line argument parsing for Haskell programs
version 0.1.3
Bart Massey <>
25 February 2010

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, 8, 10, 12} and various
development versions on Linux.  It is a fairly standard
Hackage-ready package, to the extent I know how to construct

The 0.1.2 release includes a typeclass for argument types for
easier use.

The 0.1.3 release includes more uniform and usable error

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.