on develop help sign in
3 files changed+21−11
since splitsnapshots
unifiedsplit
ChangeLog.md+13−8 patch.cabal+4−1 src/Data/Semigroup/Additive.hs+4−2
ChangeLog.md+13−8
@@ -2,6 +2,11 @@
22
33## Unreleased
44
5+* New dep of `data-orphans` for old GHC to get instances honestly instead of
6+ via `monoidal-containers`.
7+
8+## 0.0.5.0 - 2021-12-17
9+
510* `Additive` now lives in `Data.Semigroup.Additive`, but is still reexported
611 from `Data.Patch` for compatability.
712
@@ -11,25 +16,25 @@
1116 There are complete constructor and field patterns too, and everything is
1217 exported under the newtype as real constructors and fields would be.
1318
14−## 0.0.4.0
19+## 0.0.4.0 - 2021-04-20
1520
1621* Enable PolyKinds
1722
18−## 0.0.3.2
23+## 0.0.3.2 - 2020-11-06
1924
2025* Update version bounds
2126
22−## 0.0.3.1
27+## 0.0.3.1 - 2020-02-05
2328
2429* Replace `fromJust` with something easier to debug.
2530
26−## 0.0.3.0
31+## 0.0.3.0 - 2020-02-05
2732
2833* Create `PatchMapWithPatchingMove` variant which supports moves with a patch.
2934
3035* Create `DecidablyEmpty` subclass of `Monoid`.
3136
32−## 0.0.2.0
37+## 0.0.2.0 - 2020-01-17
3338
3439* Consistently provide:
3540
@@ -41,16 +46,16 @@
4146
4247 for `PatchMap`, `PatchIntMap`, and `PatchMapWithMove`.
4348
44−## 0.0.1.0
49+## 0.0.1.0 - 2020-01-09
4550
4651* Support older GHCs with `split-these` flag.
4752
4853* Additional instances for the `Group` class for basic types.
4954
50−## 0.0.0.1
55+## 0.0.0.1 - 2020-01-08
5156
5257* Remove unneeded dependencies
5358
54−## 0.0.0.0
59+## 0.0.0.0 - 2020-01-08
5560
5661* Extract patching functionality from Reflex.
patch.cabal+4−1
@@ -1,5 +1,5 @@
11Name: patch
2−Version: 0.0.4.0
2+Version: 0.0.5.0
33Synopsis: Data structures for describing changes to other data structures.
44Description:
55 Data structures for describing changes to other data structures.
@@ -43,6 +43,9 @@ library
4343 , transformers >= 0.5.6.0 && < 0.6
4444 , witherable >= 0.3 && < 0.5
4545
46+ if impl(ghc < 8.6) -- really, if base < 8.12
47+ build-depends: base-orphans >= 0.8 && < 0.9
48+
4649 exposed-modules: Data.Functor.Misc
4750 , Data.Monoid.DecidablyEmpty
4851 , Data.Patch
src/Data/Semigroup/Additive.hs+4−2
@@ -13,9 +13,11 @@ module Data.Semigroup.Additive
1313
1414import Data.Functor.Const (Const (..))
1515import Data.Functor.Identity
16−-- For base-orphans, TODO don't cheat.
17−import Data.Map.Monoidal ()
1816import Data.Proxy
17+#if !MIN_VERSION_base(4,12,0)
18+-- for :*: and :.: semigroup instances
19+import Data.Orphans ()
20+#endif
1921#if !MIN_VERSION_base(4,11,0)
2022import Data.Semigroup (Semigroup (..))
2123#endif