optparse-applicative 0.11.0.1 → 0.11.0.2
raw patch · 4 files changed
+15/−3 lines, 4 filesdep ~transformers-compat
Dependency ranges changed: transformers-compat
Files
- CHANGELOG.md +4/−0
- Options/Applicative/Builder.hs +1/−1
- README.md +8/−0
- optparse-applicative.cabal +2/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+## Version 0.11.0.2 (17 Feb 2015)++- Updated dependency bounds.+ ## Version 0.11.0.1 (5 Oct 2014) - Updated documentation.
Options/Applicative/Builder.hs view
@@ -278,7 +278,7 @@ nullOption :: ReadM a -> Mod OptionFields a -> Parser a nullOption = option --- | Builder for an option using the 'auto' reader.+-- | Builder for an option using the given reader. option :: ReadM a -> Mod OptionFields a -> Parser a option r m = mkParser d g rdr where
README.md view
@@ -20,9 +20,17 @@ ## Getting started +Install with++```sh+cabal install optparse-applicative+```+ Here is a simple example of an applicative option parser: ```haskell+import Options.Applicative+ data Sample = Sample { hello :: String , quiet :: Bool }
optparse-applicative.cabal view
@@ -1,5 +1,5 @@ name: optparse-applicative-version: 0.11.0.1+version: 0.11.0.2 synopsis: Utilities and combinators for parsing command line options description: Here is a simple example of an applicative option parser:@@ -111,6 +111,6 @@ ghc-options: -Wall build-depends: base == 4.*, transformers >= 0.2 && < 0.5,- transformers-compat == 0.3.*,+ transformers-compat >= 0.3 && < 0.5, process >= 1.0 && < 1.3, ansi-wl-pprint >= 0.6 && < 0.7