Gabriella Gonzalez
75706c5df1
Fix deadname
2022-09-04 16:35:59 -07:00
Gabriella Gonzalez
407481fa88
Fix deadname
2022-09-04 16:35:28 -07:00
Haisheng
b6d3f2c64c
Build executable for examples ( #96 )
...
- make sure examples still compile/run whenever code changes
2022-09-01 19:08:18 -07:00
Gabriella Gonzalez
2b715c8537
Version 1.4.7 → 1.4.8 ( #99 )
2022-09-01 19:04:51 -07:00
Gabriella Gonzalez
f96d1b69ea
Improve handling of NonEmpty
( #98 )
...
Fixes https://github.com/Gabriella439/Haskell-Optparse-Generic-Library/issues/97
2022-09-01 18:57:10 -07:00
Haisheng
6c4209d558
upgrade stack to lts-19.18 (ghc-9.0.2) ( #95 )
2022-08-14 17:14:05 -07:00
Gautier DI FOLCO
5a5a1f9d6c
Add getWithHelpWith ( #94 )
2022-04-21 08:28:58 -07:00
Simon Jakobi
556ce41b8b
Allow optparse-applicative 0.17 ( #92 )
...
https://hackage.haskell.org/package/optparse-applicative-0.17.0.0/changelog
2022-02-01 07:01:08 -08:00
Simon Jakobi
818daef4fe
Allow text-2.0 ( #91 )
...
https://hackage.haskell.org/package/text-2.0/changelog
2021-12-24 15:25:23 -08:00
Gabriella Gonzalez
de6098fa00
Version 1.4.6 → 1.4.7 ( #90 )
2021-11-08 20:39:39 -08:00
Sam Protas
fe0199326a
Derive data instances for exported types ( #89 )
2021-10-18 19:21:29 -07:00
Gabriella Gonzalez
dbc54db78f
Version 1.4.5 → 1.4.6 ( #88 )
2021-10-08 16:57:42 -07:00
Oleg Grenrus
e1123b93a7
Use readField in value in default parseField implementation ( #87 )
...
This allows defining ParseField instances for types without Read
by only defining `readField` (and `metavar` if needed).
We need transformers-compat to always have Except module
available. The dependency is the same as in optparse-applicative,
so it's "free".
2021-10-05 10:01:24 -07:00
Gabriella Gonzalez
861b894864
Version 1.4.4 → 1.4.5 ( #85 )
2021-09-01 22:23:04 -07:00
Gabriella Gonzalez
5e9a24d043
Update workflows.yml ( #86 )
2021-09-01 22:22:52 -07:00
Daniel Winograd-Cort
9270f184e5
Add showDefault ( #83 )
2021-08-30 11:18:50 -07:00
Daniel Winograd-Cort
a8f66ee199
Add ability to set ShortName at Type ( #84 )
2021-08-30 09:29:21 -07:00
Simon Jakobi
b571738af4
Allow transformers 0.6 ( #82 )
2021-08-12 22:38:29 -07:00
Gabriel Gonzalez
4cfaaf5931
Delete .travis.yml
2021-07-16 20:43:46 -07:00
George Thomas
e5248d2d05
Bump time bounds ( #80 )
...
https://hackage.haskell.org/package/time-1.12/changelog
2021-07-07 12:03:20 -07:00
Gabriel Gonzalez
42f4521d62
Add GitHub CI ( #81 )
2021-07-07 12:02:46 -07:00
Simon Jakobi
065cc7666d
Allow bytestring 0.11 ( #78 )
...
http://hackage.haskell.org/package/bytestring-0.11.0.0/changelog
2021-02-02 16:43:21 -08:00
Gabriel Gonzalez
04248cf842
Version 1.4.3 → 1.4.4 ( #77 )
2020-09-30 22:06:12 -07:00
dacto
94ac675ed5
readIntegralBounded: use metavar in error message ( #76 )
2020-09-30 20:49:52 -07:00
Gabriel Gonzalez
0907d78e1f
Version 1.4.2 → 1.4.3 ( #74 )
2020-08-14 22:15:53 -07:00
Gabriel Gonzalez
20ecc0a9be
Build against optparse-applicative-0.16.0.0
( #73 )
...
Related to https://github.com/commercialhaskell/stackage/issues/5597
2020-08-14 22:05:25 -07:00
dacto
fd96b4d82b
Export readIntegralBounded
( #72 )
2020-08-14 14:18:58 -07:00
Gabriel Gonzalez
d2db1883a5
Version 1.4.1 → 1.4.2 ( #71 )
2020-07-31 10:19:03 -07:00
Gabriel Gonzalez
0702c62112
Export unwrap
( #70 )
...
Fixes https://github.com/Gabriel439/Haskell-Optparse-Generic-Library/issues/69
2020-07-06 08:53:22 -07:00
Felix Yan
579274bc03
Depend on semigroups only on GHC < 8.0 ( #68 )
...
They are not needed on newer GHC.
2020-06-30 08:29:23 -07:00
Gabriel Gonzalez
a61c1205fa
Version 1.4.0 → 1.4.1 ( #67 )
2020-06-29 18:12:09 -07:00
Mitsutoshi Aoe
322d651fbf
Fix a broken haddock comment block ( #64 )
2020-06-16 08:20:55 -07:00
Gabriel Gonzalez
200987a998
Fix cabal version bound ( #63 )
2020-06-14 11:40:53 -07:00
Gabriel Gonzalez
b07ac85017
Version 1.3.1 → 1.4.0 ( #62 )
2020-06-14 11:33:30 -07:00
Eitan Chatav
c965405afa
Add support for default values ( #61 )
2020-06-12 15:47:22 -07:00
Gabriel Gonzalez
7b272cebb9
Version 1.3.0 → 1.3.1 ( #59 )
2020-01-09 08:42:51 -08:00
Gabriel Gonzalez
2a1b69ead8
Export GenericParseRecord
( #58 )
...
Fixes https://github.com/Gabriel439/Haskell-Optparse-Generic-Library/issues/57
2020-01-09 08:22:13 -08:00
Vanessa McHale
4d216a4fea
Bump time bounds ( #56 )
2019-09-05 19:32:59 -05:00
Gabriel Gonzalez
4169fbfa7b
Build against optparse-applicative-0.15
( #55 )
2019-07-06 16:12:08 -07:00
Gabriel Gonzalez
c89d7cb553
Build against semigroups-0.19
( #54 )
...
Also drop support for GHC 7.6 since our dependencies no
longer support it
2019-05-11 10:10:05 -07:00
Parnell Springmeyer
f449b38cc9
Export getRecordWith and getRecordPureWith ( #51 )
2018-10-18 18:56:57 -07:00
Gabriel Gonzalez
ade542d288
Version 1.2.3 → 1.3.0 ( #49 )
2018-02-23 08:41:25 -08:00
Sophia Rose
900fa2b596
Removes constraints from parseField method default implementation. ( #48 )
...
The goal is to make it more convenient to reuse the parseField method by
avoiding superfluous constraints on the default implementation.
With readField, the Read constraint on parseField is not required by the
default implementation any more. I found myself needing to make dummy Read
instances in order to reuse the default implementation.
The Typeable constraint is only used to derive the metavar within parseField.
So I extracted metavar out as another type class method. A nice side effect
of this is that now it's possible to customize the metavar and still reuse the
default parseFields implementation.
2018-02-22 07:19:28 -08:00
Gabriel Gonzalez
7baa281d8d
Version 1.2.2 → 1.2.3
2017-11-04 19:29:21 -07:00
Gabriel Gonzalez
5f41c3fc6a
Add shell.nix
2017-11-04 19:08:15 -07:00
Gabriel Gonzalez
261e7208d2
Fix release.nix
to build against nixpkgs-17.09
2017-11-04 19:07:50 -07:00
Gabriel Gonzalez
46141daeab
Increase lower bound on optparse-applicative
...
The library now depends on the `IsString`-generalized version of
`Options.Applicative.str`, which was added in version `0.14.0.0`
2017-11-04 19:07:00 -07:00
Chris Martin
7d86b638a4
bounds checking for Int, more integral instances ( #44 )
2017-11-04 14:30:17 -07:00
Gabriel Gonzalez
a1e4a3abcc
Version 1.2.1 => 1.2.2
2017-07-14 12:21:11 -07:00
Gabriel Gonzalez
334f706818
Use the Only
package
2017-06-23 20:32:53 -07:00