on develop help sign in
Merge branch 'develop' into je-clean-up-changelog-traverse
2503323John Ericson
ChangeLog.md+5−4
@@ -5,6 +5,7 @@
5* Data.WeakBag.traverse` and `Data.FastWeakBag.traverse` have been deprecated.
5* Data.WeakBag.traverse` and `Data.FastWeakBag.traverse` have been deprecated.
6 They are replaced with `Data.WeakBag.traverse_` and `Data.FastWeakBag.traverse_`, respectively.
6 They are replaced with `Data.WeakBag.traverse_` and `Data.FastWeakBag.traverse_`, respectively.
7
7
8+
8* Fixes a bug in `Reflex.Patch.MapWithMove.patchThatSortsMapWith` that was producing invalid `PatchMapWithMove`.
9* Fixes a bug in `Reflex.Patch.MapWithMove.patchThatSortsMapWith` that was producing invalid `PatchMapWithMove`.
9
10
10* Add missing `NotReady` instances:
11* Add missing `NotReady` instances:
@@ -39,16 +40,16 @@
39 * Add incrementalCoercion/coerceIncremental to go with dynamicCoercion/coerceDynamic
40 * Add incrementalCoercion/coerceIncremental to go with dynamicCoercion/coerceDynamic
40
41
41* Generalize merging functions:
42* Generalize merging functions:
42− `merge` to `mergeG`,
43+ `merge` to `mergeG`,
43− `mergeIncremental` to `mergeIncrementalG`,
44+ `mergeIncremental` to `mergeIncrementalG`,
44− `mergeIncrementalWithMove` to `mergeIncrementalWithMoveG`.
45+ `mergeIncrementalWithMove` to `mergeIncrementalWithMoveG`.
45
46
46* Generalize distribute function:
47* Generalize distribute function:
47 `distributeDMapOverDynPure` to `distributeDMapOverDynPureG`,
48 `distributeDMapOverDynPure` to `distributeDMapOverDynPureG`,
48
49
49## 0.6.2.0
50## 0.6.2.0
50
51
51−* Fix `holdDyn` so that it is lazy in its event argument
52+* Fix `holdDyn` so that it is lazy in its event argument
52 These produce `DMap`s whose values needn't be `Identity`.
53 These produce `DMap`s whose values needn't be `Identity`.
53
54
54* Stop using the now-deprecated `*Tag` classes (e.g., `ShowTag`).
55* Stop using the now-deprecated `*Tag` classes (e.g., `ShowTag`).
src/Control/Monad/ReaderIO.hs+1−1
@@ -37,7 +37,7 @@ instance Applicative (ReaderIO e) where
37#if MIN_VERSION_base(4,10,0)
37#if MIN_VERSION_base(4,10,0)
38 liftA2 = liftM2
38 liftA2 = liftM2
39 {-# INLINE liftA2 #-}
39 {-# INLINE liftA2 #-}
40−#endif
40+#endif
41 (*>) = (>>)
41 (*>) = (>>)
42 {-# INLINE (*>) #-}
42 {-# INLINE (*>) #-}
43
43
src/Reflex/Collection.hs+1−1
@@ -130,7 +130,7 @@ listWithKeyShallowDiff initialVals valsChanged mkChild = do
130 Nothing -> Just Nothing
130 Nothing -> Just Nothing
131
131
132 -- We don't want to let spurious re-creations of items through
132 -- We don't want to let spurious re-creations of items through
133− Just _ -> Nothing
133+ Just _ -> Nothing
134 listHoldWithKey
134 listHoldWithKey
135 initialVals
135 initialVals
136 (attachWith (flip (Map.differenceWith relevantPatch))
136 (attachWith (flip (Map.differenceWith relevantPatch))
test/Reflex/Bench/Focused.hs+1−1
@@ -134,7 +134,7 @@ holdDynChain :: (Reflex t, MonadHold t m) => Word -> Dynamic t Word -> m (Dynami
134holdDynChain = iterM (\d -> sample (current d) >>= flip holdDyn (updated d))
134holdDynChain = iterM (\d -> sample (current d) >>= flip holdDyn (updated d))
135
135
136buildDynChain :: (Reflex t, MonadHold t m) => Word -> Dynamic t Word -> m (Dynamic t Word)
136buildDynChain :: (Reflex t, MonadHold t m) => Word -> Dynamic t Word -> m (Dynamic t Word)
137−buildDynChain = iterM (\d -> do
137+buildDynChain = iterM (\d -> do
138 let b = fmap (+1) (current d)
138 let b = fmap (+1) (current d)
139 e = fmap (*2) (updated d)
139 e = fmap (*2) (updated d)
140 buildDynamic (sample b) e)
140 buildDynamic (sample b) e)