./devel/hs-optparse-applicative, Utilities and combinators for parsing command line options

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.18.1.0nb2, Package name: hs-optparse-applicative-0.18.1.0nb2, Maintainer: pho

optparse-applicative is a haskell library for parsing options on the
command line, providing a powerful applicative interface for composing
these options.

optparse-applicative takes care of reading and validating the
arguments passed to the command line, handling and reporting errors,
generating a usage line, a comprehensive help screen, and enabling
context-sensitive bash completions.


Required to run:
[devel/hs-transformers-compat] [lang/ghc88] [textproc/hs-ansi-wl-pprint]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 59.26 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-30 01:37:24 by Masatake Daimon | Files touched by this commit (1)
Log message:
devel/hs-optparse-applicative: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-29 12:31:29 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-optparse-applicative: Update to 0.18.1.0

Version 0.18.1.0 (29 May 2023)

* Change pretty printer layout algorithm used.

  The layoutSmart algorithm appears to be extremely slow with some command
  line sets, to the point where the program appears to hang.

  Fixes issues:
  # 476 - Stack executable 'hangs' with 0.17.1 and 0.18.0.

* Render help text with AnsiStyle aware rendering functions.

Version 0.18.0.0 (22 May 2023)

* Move to 'prettyprinter` library for pretty printing.

* This is a potentially breaking change when one uses the '*Doc' family of
  functions (like headerDoc) from Options.Applicative. However, as versions
  of 'ansi-wl-pprint > 1.0' export a compatible Doc type, this can be
  mitigated by using a recent version.

* One can also either import directly from Options.Applicative.Help or from
  the Prettyprinter module of 'prettyprinter'.

* Allow commands to be disambiguated in a similar manner to flags when the
  disambiguate modifier is used.

* This is a potentially breaking change as the internal CmdReader
  constructor has been adapted so it is able to be inspected to a greater
  degree to support finding prefix matches.

Version 0.17.1.0 (22 May 2023)

* Widen bounds for ansi-wl-pprint. This supports the use of prettyprinter
  in a non-breaking way, as the ansi-wl-pprint > 1.0 support the newer
  library.

* Export helpIndent from Options.Applicative.

* Export completion script generators from
  Options.Applicative.BashCompletion.

* Add simpleVersioner utility for adding a '--version' option to a parser.

* Improve documentation.

* Drop support for GHC 7.0 and 7.2.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2022-09-07 08:50:53 by Masatake Daimon | Files touched by this commit (149) | Package updated
Log message:
Recursive bump for recently updated Haskell packages
   2022-09-03 18:27:56 by Masatake Daimon | Files touched by this commit (1)
Log message:
Fix a grammatical error in a comment
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk