on develop help sign in
ChangeLog.md+13−8
since splitsnapshots
unifiedsplit
@@ -2,6 +2,11 @@
2
2
3## Unreleased
3## Unreleased
4
4
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+
5* `Additive` now lives in `Data.Semigroup.Additive`, but is still reexported
10* `Additive` now lives in `Data.Semigroup.Additive`, but is still reexported
6 from `Data.Patch` for compatability.
11 from `Data.Patch` for compatability.
7
12
@@ -11,25 +16,25 @@
11 There are complete constructor and field patterns too, and everything is
16 There are complete constructor and field patterns too, and everything is
12 exported under the newtype as real constructors and fields would be.
17 exported under the newtype as real constructors and fields would be.
13
18
14−## 0.0.4.0
19+## 0.0.4.0 - 2021-04-20
15
20
16* Enable PolyKinds
21* Enable PolyKinds
17
22
18−## 0.0.3.2
23+## 0.0.3.2 - 2020-11-06
19
24
20* Update version bounds
25* Update version bounds
21
26
22−## 0.0.3.1
27+## 0.0.3.1 - 2020-02-05
23
28
24* Replace `fromJust` with something easier to debug.
29* Replace `fromJust` with something easier to debug.
25
30
26−## 0.0.3.0
31+## 0.0.3.0 - 2020-02-05
27
32
28* Create `PatchMapWithPatchingMove` variant which supports moves with a patch.
33* Create `PatchMapWithPatchingMove` variant which supports moves with a patch.
29
34
30* Create `DecidablyEmpty` subclass of `Monoid`.
35* Create `DecidablyEmpty` subclass of `Monoid`.
31
36
32−## 0.0.2.0
37+## 0.0.2.0 - 2020-01-17
33
38
34* Consistently provide:
39* Consistently provide:
35
40
@@ -41,16 +46,16 @@
41
46
42 for `PatchMap`, `PatchIntMap`, and `PatchMapWithMove`.
47 for `PatchMap`, `PatchIntMap`, and `PatchMapWithMove`.
43
48
44−## 0.0.1.0
49+## 0.0.1.0 - 2020-01-09
45
50
46* Support older GHCs with `split-these` flag.
51* Support older GHCs with `split-these` flag.
47
52
48* Additional instances for the `Group` class for basic types.
53* Additional instances for the `Group` class for basic types.
49
54
50−## 0.0.0.1
55+## 0.0.0.1 - 2020-01-08
51
56
52* Remove unneeded dependencies
57* Remove unneeded dependencies
53
58
54−## 0.0.0.0
59+## 0.0.0.0 - 2020-01-08
55
60
56* Extract patching functionality from Reflex.
61* Extract patching functionality from Reflex.
patch.cabal+4−1
@@ -1,5 +1,5 @@
1Name: patch
1Name: patch
2−Version: 0.0.4.0
2+Version: 0.0.5.0
3Synopsis: Data structures for describing changes to other data structures.
3Synopsis: Data structures for describing changes to other data structures.
4Description:
4Description:
5 Data structures for describing changes to other data structures.
5 Data structures for describing changes to other data structures.
@@ -43,6 +43,9 @@ library
43 , transformers >= 0.5.6.0 && < 0.6
43 , transformers >= 0.5.6.0 && < 0.6
44 , witherable >= 0.3 && < 0.5
44 , witherable >= 0.3 && < 0.5
45
45
46+ if impl(ghc < 8.6) -- really, if base < 8.12
47+ build-depends: base-orphans >= 0.8 && < 0.9
48+
46 exposed-modules: Data.Functor.Misc
49 exposed-modules: Data.Functor.Misc
47 , Data.Monoid.DecidablyEmpty
50 , Data.Monoid.DecidablyEmpty
48 , Data.Patch
51 , Data.Patch
src/Data/Semigroup/Additive.hs+4−2
@@ -13,9 +13,11 @@ module Data.Semigroup.Additive
13
13
14import Data.Functor.Const (Const (..))
14import Data.Functor.Const (Const (..))
15import Data.Functor.Identity
15import Data.Functor.Identity
16−-- For base-orphans, TODO don't cheat.
17−import Data.Map.Monoidal ()
18import Data.Proxy
16import Data.Proxy
17+#if !MIN_VERSION_base(4,12,0)
18+-- for :*: and :.: semigroup instances
19+import Data.Orphans ()
20+#endif
19#if !MIN_VERSION_base(4,11,0)
21#if !MIN_VERSION_base(4,11,0)
20import Data.Semigroup (Semigroup (..))
22import Data.Semigroup (Semigroup (..))
21#endif
23#endif