From 9f578f41a1259b67f45976fe4eb61366239661b0 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 16 Nov 2019 11:16:15 -0800 Subject: [PATCH] Explicitly add 'mappend' for old GHC versions --- src/ShellCheck/Analytics.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ShellCheck/Analytics.hs b/src/ShellCheck/Analytics.hs index d8bfcd4..cc5a285 100644 --- a/src/ShellCheck/Analytics.hs +++ b/src/ShellCheck/Analytics.hs @@ -1824,6 +1824,7 @@ instance Semigroup SpaceStatus where (x, SpaceEmpty) -> x instance Monoid SpaceStatus where mempty = SpaceEmpty + mappend = (<>) -- This is slightly awkward because we want to support structured -- optional checks based on nearly the same logic