Skip to content

Commit ffd3bd9

Browse files
committed
Merge branch 'module-for-additive' into proper-orphans-dep
2 parents 60d4aa6 + 5af9be6 commit ffd3bd9

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

patch.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ library
4141
, lens >= 4.7 && < 5
4242
, semigroupoids >= 4.0 && < 6
4343
, transformers >= 0.5.6.0 && < 0.6
44-
, witherable >= 0.3 && < 0.4
44+
, witherable >= 0.3 && < 0.5
4545

4646
if impl(ghc < 8.6) -- really, if base < 8.12
4747
build-depends: base-orphans >= 0.8 && < 0.9

src/Data/Patch.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ instance Group (Proxy x) where
8585

8686
-- | Const lifts groups into a functor.
8787
deriving instance Group a => Group (Const a x)
88+
8889
-- | Identity lifts groups pointwise (at only one point)
8990
deriving instance Group a => Group (Identity a)
9091

src/Data/Semigroup/Additive.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ instance Additive (Proxy x)
4646

4747
-- | Const lifts additive semigroups into a functor.
4848
instance Additive a => Additive (Const a x)
49+
4950
-- | Identity lifts additive semigroups pointwise (at only one point)
5051
instance Additive a => Additive (Identity a)
5152

0 commit comments

Comments
 (0)