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 authored and hasufell committed Feb 21, 2022
1 parent 91a6452 commit 86d0e16
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 86d0e16

Please sign in to comment.