Add Semigroup import for GHC <= 8.2 compatibility
This commit is contained in:
parent
91a6452676
commit
86d0e16940
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ import Servant.Types.SourceT
|
|||
(SourceT, StepT (..), foreachYieldStep, mapStepT,
|
||||
transformStepWithAtto)
|
||||
|
||||
-- For compatibility with GHC <= 8.2
|
||||
import Data.Semigroup
|
||||
(Semigroup (..))
|
||||
|
||||
-- | Line (or frame) of an event stream
|
||||
newtype EventStreamLine = EventStreamLine
|
||||
{ unEventStreamLine :: ByteString.ByteString }
|
||||
|
|
Loading…
Reference in a new issue