/usr/share/doc/libghc-parseargs-doc/README is in libghc-parseargs-doc 0.1.3.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | parseargs -- command-line argument parsing for Haskell programs
version 0.1.3
Bart Massey <bart@cs.pdx.edu>
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
such.
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
handling.
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.
|