mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-21 17:59:21 +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
|
(x, SpaceEmpty) -> x
|
||||||
instance Monoid SpaceStatus where
|
instance Monoid SpaceStatus where
|
||||||
mempty = SpaceEmpty
|
mempty = SpaceEmpty
|
||||||
|
mappend = (<>)
|
||||||
|
|
||||||
-- This is slightly awkward because we want to support structured
|
-- This is slightly awkward because we want to support structured
|
||||||
-- optional checks based on nearly the same logic
|
-- optional checks based on nearly the same logic
|
||||||
|
Reference in New Issue
Block a user