on develop help sign in
fromList -> fromAscList
commit08e613c3ee433b8d6f892801ec76d868d55cf5f3 authorCale Gibbard <cgibbard@gmail.com> dateThu 14 Jan 2016, 20:18 (11 years ago) parent63e7456
1 file changed+1−1
src/Reflex/Class.hs+1−1
src/Reflex/Class.hs+1−1
@@ -322,7 +322,7 @@ instance (Semigroup a, Reflex t) => Monoid (Event t a) where
322322mergeWith :: Reflex t => (a -> a -> a) -> [Event t a] -> Event t a
323323mergeWith f es = fmap (Prelude.foldl1 f . map (\(Const2 _ :=> Identity v) -> v) . DMap.toList)
324324 . merge
325− . DMap.fromList
325+ . DMap.fromAscList
326326 . map (\(k, v) -> (Const2 k) :=> v)
327327 $ zip [0 :: Int ..] es
328328