Skip to content

Commit

Permalink
Fix missing Semigroup in ghc 8.0
Browse files Browse the repository at this point in the history
Prelude in ghc 8.0 does not come with Semigroup. Importing it directly
works in 8.0, 8.2, and 8.4.
  • Loading branch information
matthewbauer committed Jan 23, 2019
1 parent 53698df commit 2367e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflex/Time.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import Control.Monad.IO.Class
import Data.Align
import Data.Data (Data)
import Data.Fixed
import Data.Semigroup
import Data.Sequence (Seq, (|>))
import qualified Data.Sequence as Seq
import Data.These
Expand Down Expand Up @@ -369,4 +370,3 @@ tickInfo_alreadyElapsed :: Lens' TickInfo NominalDiffTime
tickInfo_alreadyElapsed f (TickInfo x1 x2 x3) = (\y -> TickInfo x1 x2 y) <$> f x3
{-# INLINE tickInfo_alreadyElapsed #-}
#endif

0 comments on commit 2367e54

Please sign in to comment.