Skip to content

Commit

Permalink
Add Semigroup import for GHC <= 8.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vapourismo committed Jul 2, 2020
1 parent 59166cc commit 9dd371b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 9dd371b

Please sign in to comment.