pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/hs-cmdargs



Module name:    wip
Committed by:   szptvlfn
Date:           Mon Jul 29 20:09:58 UTC 2013

Added Files:
        wip/hs-cmdargs: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
This library provides an easy way to define command line parsers.
Most users will want to use the System.Console.CmdArgs.Implicit module,
whose documentation contains an example.

* System.Console.CmdArgs.Explicit provides a way to write command line parsers
  for both single mode programs (most programs) and multiple mode programs
  (e.g. darcs or cabal). Parsers are defined by constructing a data structure.

* System.Console.CmdArgs.Implicit provides a way to concisely define
  command line parsers, up to three times shorter than getopt.
  These parsers are translated into the Explicit data type.

* System.Console.CmdArgs.GetOpt provides a wrapper allowing compatiblity
  with existing getopt parsers, mapping to the Explicit data type.

For a general reference on what command line flags are commonly used,
see http://www.faqs.org/docs/artu/ch10s05.html.


To generate a diff of this commit:
cvs -z3 rdiff -u -r0 -r1.1 wip/hs-cmdargs/DESCR wip/hs-cmdargs/Makefile \
    wip/hs-cmdargs/PLIST wip/hs-cmdargs/buildlink3.mk \
    wip/hs-cmdargs/distinfo

To view a diff of this commit:
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-cmdargs/DESCR?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-cmdargs/Makefile?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-cmdargs/PLIST?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-cmdargs/buildlink3.mk?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-cmdargs/distinfo?r1=0&r2=1.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs


Home | Main Index | Thread Index | Old Index