Skip to content

Commit 9f578f4

Browse files
committed
Explicitly add 'mappend' for old GHC versions
1 parent 2c026f1 commit 9f578f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ShellCheck/Analytics.hs

+1
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,7 @@ instance Semigroup SpaceStatus where
18241824
(x, SpaceEmpty) -> x
18251825
instance Monoid SpaceStatus where
18261826
mempty = SpaceEmpty
1827+
mappend = (<>)
18271828

18281829
-- This is slightly awkward because we want to support structured
18291830
-- optional checks based on nearly the same logic

0 commit comments

Comments
 (0)