mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-23 16:53:02 +03:00
Fix haxl build for ghc-8.2
Summary: In ghc-8.2, we don't have `mappend = (<>)`. We need define `mappend` explicitly. Reviewed By: babyLiyuan Differential Revision: D23090224 fbshipit-source-id: 13359dad7cd1cd3928aef895625ddfc08bb2478e
This commit is contained in:
parent
6a796e78bb
commit
2b7f2aea41
@ -808,6 +808,7 @@ instance Semigroup a => Semigroup (GenHaxl u w a) where
|
||||
|
||||
instance Monoid a => Monoid (GenHaxl u w a) where
|
||||
mempty = pure mempty
|
||||
mappend = liftA2 mappend
|
||||
|
||||
blockedBlocked
|
||||
:: Env u w
|
||||
|
Loading…
Reference in New Issue
Block a user