Commit Graph

94 Commits

Author SHA1 Message Date
Jonathan King
c1f7087db7 Fix 'cabal check' issues 2023-03-09 19:11:26 +00:00
Jonathan King
f6b3a41221
Fix typo in Changelog version 2023-03-09 18:56:47 +00:00
Jonathan King
6e0cda9cdc
Release version 4.2.1 (#30)
Release version 4.2.1
2023-03-09 18:54:31 +00:00
Jonathan King
4628690981 Bump version and add entry to changelog 2023-03-04 16:25:16 +00:00
Tom Harding
6b3bdbae03
Merge pull request #29 from jonathanlking/ghc-9.4
Support for GHC 9.4
2023-02-06 11:33:36 +00:00
Jonathan King
22c511f7a8 Increase version bounds of dependencies 2023-02-05 23:57:52 +00:00
Jonathan King
01ba3d5698 Update actions version and add GHC 9.4.4 to matrix 2023-02-05 20:01:16 +00:00
Tom Harding
9b19fb002d
Merge pull request #28 from patrickt/fix-9.2-build-and-add-actions
Fix GHC 9.2 build and add GitHub Actions support.
2022-04-17 14:49:53 +01:00
Patrick Thomson
e257f77fca Fix doctests to account for GHCs that can see through String. 2022-04-12 14:05:19 -04:00
Patrick Thomson
8d0d87e639 Fix GHC 9.2 build and add GitHub Actions support.
It turns out that GHC got a little cleverer at spotting a missing
`FlexibleContexts` extension. This adds fixes for that, widens bounds
as necessary, and adds a yml file to pull in GitHub Actions CI.
2022-04-12 13:53:46 -04:00
Tom Harding
a00b826fa0 Bump version for release 2021-03-20 23:34:21 +00:00
Tom Harding
02a19384ed Relax quickcheck version bounds
QuickCheck had an update!
2021-03-20 23:33:59 +00:00
Tom Harding
74848cfe2a
Merge pull request #27 from RyanGlScott/patch-1
CHANGELOG: s/partial-structures/higgledy/
2021-02-02 10:15:28 +00:00
Ryan Scott
fbf6b9a5d8
CHANGELOG: s/partial-structures/higgledy/
I'm guessing that `partial-structures` was the old name of the project before it became `higgledy`.
2021-01-29 09:23:09 -05:00
Tom Harding
7670c4c8a1 Bump version 2021-01-29 13:25:29 +00:00
Tom Harding
a6b9b95269
Merge pull request #26 from AlistairB/generic-lens-2-1
Update to generic lens 2.1.0.0
2021-01-29 13:23:45 +00:00
Alistair Burrowes
0797072841 Update to generic lens 2.1.0.0
This version and above is required as they expose GUpcast again.
2021-01-26 09:50:33 +11:00
Tom Harding
80878d0556 Remove deprecation warnings, fix doctests
This turned out to be a surprising amount of work! Now, the tests pass,
no deprecation warnings are shown on build, and @AlistairB's kindly
hosted generic-lens fork will do the trick until @kcsongor merges the
PRs :)
2021-01-24 21:43:39 +00:00
Tom Harding
768cbf5358
Merge pull request #25 from alexpeits/ghc-8.8
Support ghc >= 8.8
2021-01-24 17:34:35 +00:00
Tom Harding
da392f56a4
Merge branch 'master' into ghc-8.8 2021-01-24 17:34:17 +00:00
Tom Harding
165d8df053
Merge pull request #24 from AlistairB/generic-lens-2
Fixes for generic-lens 2.0
2021-01-24 17:30:39 +00:00
Alexandros Peitsinis
f92125d854 Support ghc >= 8.8 2020-08-01 21:26:40 +01:00
Alistair Burrowes
251594d263 Bump dependencies. Fixes for generic-lens 2.0 2020-06-25 09:41:16 +10:00
Tom Harding
29aece1184
Merge pull request #19 from alexfmpe/fix-test-warnings
Remove duplicated imports
2020-03-09 16:32:53 +00:00
Tom Harding
2d7342fecb
Merge pull request #18 from alexfmpe/invisible-main
Hide literate haskell main
2020-03-09 16:31:48 +00:00
Tom Harding
04b914fbdb Bump version 2019-10-23 12:20:42 +01:00
Tom Harding
e3b2cc253a
Merge pull request #16 from i-am-tom/named
Add named field construction
2019-10-19 18:09:05 +01:00
Alexandre Esteves
15b9cd003f Remove duplicated imports 2019-10-06 02:04:13 +01:00
Alexandre Esteves
9fc5f504ab Hide literate haskell main 2019-10-06 02:01:17 +01:00
Tom Harding
ba5fc87669 Code review changes
Thanks @neongreen and @int-index!
2019-09-29 22:05:17 +01:00
Tom Harding
049af746be Add named field construction
The `named` library seems to make a lot of this look much prettier, so
I'm very excited about this change!
2019-09-27 15:03:03 +01:00
Tom Harding
476d73a92e Revert "Use generic-deriving for Show instance"
Misunderstood how useful this would be, and broke production :(

This reverts commit 90d7fde513.
2019-08-15 16:43:40 +01:00
Tom Harding
90d7fde513 Use generic-deriving for Show instance
It's quite possible that more of the classes can be removed in favour of
generic-deriving, but this fixes #12 regardless.
2019-08-05 09:55:20 +01:00
Tom Harding
4aaa49e406 Add Data.Semigroup.Last to README
As per Jordan's suggestion in #4, I've added a note about GHC 8.8. I'm
probably not going to change the code until then, simply because it
makes things a bit uglier.
2019-08-05 09:17:27 +01:00
Tom Harding
4275824514 Tighten Construct constraint
Although we technically only "need" `Functor f` and `GConstruct` will in
turn imply `Applicative f`, it would be nice for the benefit of users if
it were clear in the signature that `Applicative` were required.
2019-08-05 09:13:41 +01:00
Tom Harding
609b212307 Remove redundant constraint
Just realised I copy-pasted myself into a mischief.
2019-08-05 09:13:25 +01:00
Tom Harding
c8155305f5
Merge pull request #14 from Philonous/nightly
Update for stackage nightly
2019-08-05 09:02:46 +01:00
Philipp Balzarek
3b9171e303 Relax doctests 2019-08-01 14:29:17 +02:00
Philipp Balzarek
4f2170e7b8 Relax version bounds 2019-08-01 14:29:04 +02:00
Tom Harding
90083c517d Version bump
Ready for release!
2019-06-27 11:53:11 +01:00
Tom Harding
bf240ae6ae Re-export Barbie classes
They're sufficiently well-used that it makes sense for them to be
available directly through this library.
2019-06-24 09:10:41 +01:00
Tom Harding
94171f3401 Add buniq to README
It's another perfectly legitimate way to construct an object!
2019-06-24 09:02:45 +01:00
Tom Harding
9c7b830bdc
Merge pull request #9 from jmackie/readme-test
Test the README
2019-06-24 08:50:14 +01:00
Tom Harding
7a3ed792eb Finish doc-checking
Nothing dramatic - just had to add a `Main` to keep everything happy,
and ignore the type error block.
2019-06-24 08:48:31 +01:00
Jordan Mackie
319c669c8c Test the README 2019-06-21 10:04:09 +01:00
Tom Harding
5a4dbe26f4 Documentation fix
Accidentally copied the wrong docs in.
2019-06-20 21:22:06 +01:00
Tom Harding
81a6ce7b67 Use generic-lens directly for position/field
Turns out, as @kcsongor suspected, we can use generic-lens directly by
exposing a generic rep for our HKD type. All the tests work fine, two
documentation updates. I'm very pleased!
2019-06-20 21:05:05 +01:00
Tom Harding
b34a9c707e Expose a generic rep for HKD
All we do is expose the internal rep "as" the generic rep. I need to do
a bit of experimentation, but this _might_ actually make the generic
lenses here redundant...
2019-06-15 18:19:51 +01:00
Tom Harding
7527a89678 Remove argument from label
It doesn't need one, and it just opens up more opportunities for type
ambiguities. Type-applying will go much better.
2019-06-15 18:18:07 +01:00
Tom Harding
ce88cc5f0b Expose Tuple class
For many of the instances, we use a transformation to and from a nested
tuple shape. For example, we can have an instance of `Eq` for any HKD by
converting it to nested tuples and using _that_ instance.

@pacak notes that, while this is fine in principal, not exposing it
means that we can't write functions on top of various internals that are
suitably polymorphic because we can't add this class as a constraint.

This commit exposes this class, and frees us all.
2019-06-10 10:02:02 +01:00