|
9 | 9 | {-# LANGUAGE GADTs #-}
|
10 | 10 | {-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
11 | 11 | {-# LANGUAGE LambdaCase #-}
|
12 |
| -{-# LANGUAGE MultiParamTypeClasses #-} |
13 | 12 | {-# LANGUAGE MultiWayIf #-}
|
14 | 13 | {-# LANGUAGE RankNTypes #-}
|
15 | 14 | {-# LANGUAGE RoleAnnotations #-}
|
@@ -1752,7 +1751,7 @@ mergeCheap nt = mergeGCheap' getInitialSubscribers updateMe destroy
|
1752 | 1751 | let s = subscriber $ return k
|
1753 | 1752 | (subscription@(EventSubscription _ parentSubd), parentOcc) <- subscribeAndRead (nt e) s
|
1754 | 1753 | height <- liftIO $ getEventSubscribedHeight parentSubd
|
1755 |
| - return (fmap (\x -> k :=> x) parentOcc, height, k :=> MergeSubscribedParent subscription) |
| 1754 | + return (fmap (k :=>) parentOcc, height, k :=> MergeSubscribedParent subscription) |
1756 | 1755 | return ( DMap.fromDistinctAscList $ mapMaybe (\(x, _, _) -> x) subscribers
|
1757 | 1756 | , fmap (\(_, h, _) -> h) subscribers --TODO: Assert that there's no invalidHeight in here
|
1758 | 1757 | , DMap.fromDistinctAscList $ map (\(_, _, x) -> x) subscribers
|
@@ -1800,7 +1799,7 @@ mergeCheapWithMove nt = mergeGCheap' getInitialSubscribers updateMe destroy
|
1800 | 1799 | let s = subscriber $ liftIO $ readIORef keyRef
|
1801 | 1800 | (subscription@(EventSubscription _ parentSubd), parentOcc) <- subscribeAndRead (nt e) s
|
1802 | 1801 | height <- liftIO $ getEventSubscribedHeight parentSubd
|
1803 |
| - return (fmap (\x -> k :=> x) parentOcc, height, k :=> MergeSubscribedParentWithMove subscription keyRef) |
| 1802 | + return (fmap (k :=>) parentOcc, height, k :=> MergeSubscribedParentWithMove subscription keyRef) |
1804 | 1803 | return ( DMap.fromDistinctAscList $ mapMaybe (\(x, _, _) -> x) subscribers
|
1805 | 1804 | , fmap (\(_, h, _) -> h) subscribers --TODO: Assert that there's no invalidHeight in here
|
1806 | 1805 | , DMap.fromDistinctAscList $ map (\(_, _, x) -> x) subscribers
|
|
0 commit comments