Skip to content

Commit 269dcb0

Browse files
committed
More Semigroup superclasses for old GHC
1 parent ecc8511 commit 269dcb0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Data/Patch/MapWithPatchingMove.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ data Fixup k v
287287
-- | Compose patches having the same effect as applying the patches in turn:
288288
-- @'applyAlways' (p <> q) == 'applyAlways' p . 'applyAlways' q@
289289
instance ( Ord k
290-
#if !MIN_VERSION_base(4,10,0)
290+
#if !MIN_VERSION_base(4,11,0)
291291
, Semigroup p
292292
#endif
293293
, Monoid p
@@ -349,6 +349,9 @@ instance ( Ord k
349349
-- | Compose patches having the same effect as applying the patches in turn:
350350
-- @'applyAlways' (p <> q) == 'applyAlways' p . 'applyAlways' q@
351351
instance ( Ord k
352+
#if !MIN_VERSION_base(4,11,0)
353+
, Semigroup p
354+
#endif
352355
, Monoid p
353356
, DecidablyEmpty p
354357
, Patch p

0 commit comments

Comments
 (0)