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 (<5), containers (==0.*) [details]
CopyrightCopyright (c) 2007 Bart Massey
AuthorBart Massey <>
MaintainerBart Massey <>
Home page
Source repositoryhead: git clone git://
this: git clone git:// v0.2.0.4)
UploadedWed Dec 16 21:34:46 UTC 2015 by BartonMassey
DistributionsDebian:, LTSHaskell:, NixOS:, Stackage:
Downloads6676 total (23 in last 30 days)
0 []
StatusDocs available [build log]
Last success reported on 2015-12-16 [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees

Readme for parseargs-

parseargs: Command-line argument parsing for Haskell programs

Copyright (c) 2007 Bart Massey

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

The package provides a Haskell command-line argument "parser". You supply a specification of the arguments to your command-line program; parseargs reads the arguments and checks that they meet your spec. It then fills in a data structure that captures the relevant data, 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 and later on Linux. It is a fairly standard Hackage-ready package, to the extent I know how to construct such.

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

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

Release History


This program is licensed under the "3-clause ('new') BSD License". Please see the file COPYING in this distribution for license terms.