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,
|
(SourceT, StepT (..), foreachYieldStep, mapStepT,
|
||||||
transformStepWithAtto)
|
transformStepWithAtto)
|
||||||
|
|
||||||
|
-- For compatibility with GHC <= 8.2
|
||||||
|
import Data.Semigroup
|
||||||
|
(Semigroup (..))
|
||||||
|
|
||||||
-- | Line (or frame) of an event stream
|
-- | Line (or frame) of an event stream
|
||||||
newtype EventStreamLine = EventStreamLine
|
newtype EventStreamLine = EventStreamLine
|
||||||
{ unEventStreamLine :: ByteString.ByteString }
|
{ unEventStreamLine :: ByteString.ByteString }
|
||||||
|
|
Loading…
Reference in a new issue