on develop help sign in
Fix warning
commitbc2de95574c8670d1d355294c3cdb94a13f0a6cc authorRyan Trinkle <ryan.trinkle@gmail.com> dateFri 1 Sep 2017, 14:19 (9 years ago) parent364f7df
1 file changed+1−1
src/Reflex/Class.hs+1−1
src/Reflex/Class.hs+1−1
@@ -1040,7 +1040,7 @@ numberOccurrencesFrom = mapAccum_ (\n a -> (n + 1, (n, a)))
10401040
10411041-- | Assign a number to each occurence of the given 'Event'; discard the occurrences' values
10421042numberOccurrencesFrom_ :: (Reflex t, MonadHold t m, MonadFix m, Num b) => b -> Event t a -> m (Event t b)
1043−numberOccurrencesFrom_ = mapAccum_ (\n a -> (n + 1, n))
1043+numberOccurrencesFrom_ = mapAccum_ (\n _ -> (n + 1, n))
10441044
10451045-- | This is used to sample the value of a 'Behavior' using an 'Event'.
10461046--