@@ -677,11 +677,7 @@ instance (Num a, Reflex t) => Num (Dynamic t a) where
677677instance (Reflex t, Semigroup a) => Semigroup (Behavior t a) where
678678 a <> b = pull $ liftM2 (<>) (sample a) (sample b)
679679 sconcat = pull . fmap sconcat . mapM sample
680−#if MIN_VERSION_semigroups(0,17,0)
681680 stimes n = fmap $ stimes n
682−#else
683− times1p n = fmap $ times1p n
684−#endif
685681
686682-- | Alias for 'mapMaybe'
687683fmapMaybe :: Filterable f => (a -> Maybe b) -> f a -> f b
@@ -879,11 +875,7 @@ traceEventWith f = push $ \x -> trace (f x) $ return $ Just x
879875instance (Semigroup a, Reflex t) => Semigroup (Event t a) where
880876 (<>) = alignWith (mergeThese (<>))
881877 sconcat = fmap sconcat . mergeList . toList
882−#if MIN_VERSION_semigroups(0,17,0)
883878 stimes n = fmap $ stimes n
884−#else
885− times1p n = fmap $ times1p n
886−#endif
887879
888880instance (Semigroup a, Reflex t) => Monoid (Event t a) where
889881 mempty = never
@@ -1116,11 +1108,7 @@ zipDynWith f da db =
11161108
11171109instance (Reflex t, Semigroup a) => Semigroup (Dynamic t a) where
11181110 (<>) = zipDynWith (<>)
1119−#if MIN_VERSION_semigroups(0,17,0)
11201111 stimes n = fmap $ stimes n
1121−#else
1122− times1p n = fmap $ times1p n
1123−#endif
11241112
11251113instance (Reflex t, Monoid a) => Monoid (Dynamic t a) where
11261114 mconcat = distributeListOverDynWith mconcat