mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 16:26:26 +08:00
Explicitly add 'mappend' for old GHC versions
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user